Hi guys, This came up last week but no working response was given.
I have my data sorted in a dataProvider, however whenever I add new data I add it to the end of the ArrayCollection. However this means the datagrid is no longer sorted correctly. I wish I could execute the private method sortByColumn() that exists in the DataGrid class, but it's private!! Anyone with a solution? I have tried subclassing and also copying code directly, but the sortByColumn method uses private variables, so I'm stuck again. Can anyone suggest a solution to my problem? Cheers, Adam