Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all articles
Browse latest Browse all 70427

Spark DataGrid scrollToIndex?

$
0
0

In Flex I used to use the dataGrid.scrollToIndex(XX) to scroll down to a selected row.

 

I can't seem to get anything to work for the Spark DataGrid in FB4.5.  Searching around I tried to impliment this:

dataGrid.ensureCellIsVisible(selectedSlideIndex);

dataGrid.setSelectedIndex(selectedSlideIndex);

 

The selectedSlideIndex is set when a row is selected to store the int.

 

I can't get the DataGrid to scroll to the index, OR select the index..

 

So what is the Spark DataGrid version of the MX DataGrid.scrollToIndex?


Viewing all articles
Browse latest Browse all 70427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>