scroll datagrid by actionscript (flex 3)

//Highlight the itemrender
dgPeopleList.selectedIndex = 212;

//validateNow needs to be called before verticalScrollPosition is set.
dgPeopleList.validateNow();

dgPeopleList.verticalScrollPosition = 212;

Advertisements

Tags:

4 Responses to “scroll datagrid by actionscript (flex 3)”

  1. Tisi Says:

    Thanks for this tip which was very usefull to me 😉

  2. Roumen Says:

    Vertical scroll seems easy. Can you tell me how to make horizontal scroll, please.
    I have unsuccessful attempt to use this example with horizontalScrollPosition.

  3. Ron Says:

    Great.. this is what I’ve been looking for.

  4. Shanmukha Says:

    You are wonderful, It helped me a lot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: