06-27-2007 6:23 PM
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
06-30-2007 9:00 AM
<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