sortcomparefunction

flex datagrid - is it possible call a sortCompareFunction on initialize

HI, I want to call the sortCompareFunction for a particular row when the grids first loads. Is this possible? Otherwise is there a way to call a sort method on grid load after it has been asssigned the dataprovdier has been updatad ...

Find criteria must contain at least one sort field value.

Hi Guys. I have this datagrid which dataProvider is a ArrayCollection of 2 different types of objects (FolderVO and FileVO). I have a size column which in the case of the FolderVO is populated by an attribute called contentSize and in the case of the FileVO it is populated by the size attribute (the difference is handled by a itemrender...

Adding a sortcomparefunction to Dynamic Data Grid in flex

Hi, I am trying to create a dynamic datagrid in Flex 3, I have a list of columns a list of objects which correspond to datapoints for those columns which I fetch from a url. While the grid works perfectly fine the problem is that sorting on the columns is done in lexical order. I am aware that this can be fixed by adding a sortcomparef...