flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Sroll to index position in ADG
Date Fri, 27 May 2016 14:48:18 GMT
I am trying to scroll adg after a data provider has been set.

Here is the code I am using:

_selectedIndex = _selectedIndex == dataProvider.length - 1 ? _selectedIndex
- 1 : _selectedIndex; // _selectedIndex is selectedIndex before
dataprovider was reloaded
this.selectedIndex = _selectedIndex;

My adg can show hierarchical data  as well as flat data. Seems like the
above code works fine when data is hierarchical.

Any idea why wouldn't it work with the flat data?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message