Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Flex - Sort

Former Member
0 Kudos

Hi All,

We are using Adobe Flex 2 to develop internet applications.

My question is how to lock initial mutiple rows in Flex. Right now, locked row feature is locking the chrome but not the data. Therefore, when we sort new data appear in the locked rows.

I want the sort not to affect some number of initial rows?

Many Thanks

Naga

1 REPLY 1

athavanraja
Active Contributor
0 Kudos

<mx:DataGrid's lockedRowCount attribute is for locking rows when using the scroller .

meaning if you set it to 3 , and if you use the scroll bar, the first three rows will stay fixed and other rows will scroll. however this doesnt affect the sorting behaviour.

by defult there is not option to ignore the locked rows from sorting, you may have to say have two datagrids first one with locked rows and the second normal one without column header and in this case, you have to code the sorting yourself.

Raja