Skip to Content
author's profile photo Former Member
Former Member

Adobe Flex - Sort

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


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 30, 2007 at 08: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.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.