We have a Flex DataGrid with 3 columns of which one of them has a custom inline itemrenderer that renders an icon in the cell via an Image component, depending on the data in the row.
The problem is now that sorting this column is incredibly slow. It's OK when we only have a few rows of data in there, but as soon as we have a few hundred or thousand of rows, we notice a freeze of several seconds.
Has anyone noticed this and run into the same problem. If so, did you find any good fix for this? I know we could limit the number of rows in the dataprovider, but I'm really looking for a solution to the root problem.
--
Update: some info on the solution: the problem we had was actually not caused by the item renderer. Since we only have 2 distinct values in that column, it was sorting really slow on large data sets. The solution was to write a custom compare function and append some of the other properties to the value that gets compared to make it more distinct.