| Author |
what is the need for sorting an ArrayCollection ??
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2231
|
|
Hi ,
But can anybody please let me know why there is a sorting Facility provided for ArrayCollection ??
Where this could be useful ?? because as far as my knowledge ArrayCollection would be used as a dataprovider for a DataGrid and datagrid has already got Facility for sorting depending upon the column header clcik .
So why or where sort Mecahnism is used in ArrayCollection ??
Please excuse if the question is a dumb one .
Please share your ideas .
|
Save India From Corruption - Anna Hazare.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
An ArrayCollection is just a data structure, its unrelated to the view component you choose to display its contents with. Nothing to do with Flex, this is just one of the basics of good programming practice.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
 |
|
|
subject: what is the need for sorting an ArrayCollection ??
|
|
|