10/12/2010 2:41:43 AM
Title:
list item sorting
hi to all. i have one information form once i fill the details in that form i can add the form details in server.same time the user name added in list which i had inside the design .but i want to add item in list some data contidion , for ex i want list the data with priority regarding particular field in form,its like date time some other thing.can anyone please help me for doing the above work in flex 3?
10/12/2010 6:31:22 AM
Use
1.Arraycollection for it and
2.Make it bindable then
3.Feed arraycollection to list component
4.Whenever needed sort arraycollection and also refresh arraycollection after sorting.
I hope this will solve your problem
Thanks
10/12/2010 10:14:59 PM
can you please give me one sample regarding my requirement?
10/13/2010 12:03:21 AM
check these pages to do sorting of array collection
http://blog.flexexamples.com/2007/08/05/sorting-an-arraycollection-using-the-sortfield-and-sort-classes/
http://flex-apollo.blogspot.com/2009/07/sorting-arraycollection.html