Hi Alex,

While this solution works, it degrades the performance significantly
because every time an item is edited, we doing 2 refreshes on the data
provider and each refresh will trigger the filter function to run
again.  I will need to test it out with a large dataset to see how bad
this will get.

Did Adobe fix this problem in Flex 3?

Thanks,

Ban

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You can try removing the filter and re-applying it, calling refresh in
> between.
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of letterpigeon
> Sent: Friday, February 29, 2008 10:45 AM
> To: [email protected]
> Subject: [flexcoders] Re: Why is grid data gets sorted randomly when
> modify using itemEditor
> 
>  
> 
> Hi Alex,
> 
> I'm using flex 2. Is there a way to fix this problem? The order of
> the data is critical to our application so we ought to maintain it.
> 
> Thanks.
> 
> Ban
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > Flex 2 or 3? I think in Flex 2, changed entries ended up at the bottom
> > of the filtered list.
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of letterpigeon
> > Sent: Friday, February 29, 2008 8:38 AM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Why is grid data gets sorted randomly when
> modify
> > using itemEditor
> > 
> > 
> > 
> > Hi all,
> > 
> > I'm seeing this strange behavior with the Datagrid. Whenever I have a
> > filter on any of the column, when I change any cell in the grid, the
> > rows automatically got sorted in a random order. (it works just fine
> > when there is no filter on). Then when I remove the filter, the order
> > of the rows will be restored to the original order. Has anyone
> > encountered this problem before? If so, is there a resolution?? Any
> > help would be greatly appreciated. 
> > 
> > Thanks & regards,
> > 
> > Ban
> >
>


Reply via email to