Ok. I've found a workaround. To make filter function to be called we should
specify the datafield too. It sort data by sortCompareFunction, but the
dataField property is needed to perform the sorting. I looked to the
AdvancedDataGrid and HierachicalCollectionView sources and noticed that if
dataField is null, the sorting will not be performed. One more bug...

2010/9/22 finder <[email protected]>

> Hi all,
>
> I use AdvancedDataGrid to display hierachical data and specify
> sortcomparefunctions for each column.
>
> When I try to sort, there is no changes in column(items are not
> sorted). And I am sure that sort functions are never called(I
> debugged, tried to set alerts etc)
>
> When I try to set datafield, sorting works fine by datafield. But I
> need more complex sorting by using sort functions.
>
> I have tried to google a long time but have not find the issue.
>
> Could anyone help me?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to