Hi. I'm wondering if the grid can be set up to automatically resort based on any current sort selections after new data is entered. Or, does it have to be done manually each time?
Thanks.
Just to clarify, the answer to your question is no - there's no way to make the grid do this automatically. The idea is that it might be pretty jarring to a user to edit a field in the grid and then have the row they were editing suddenly move to a new position when they tab out of the cell or click somewhere else.
So this way we give you, the developer, total control over when the re-sorting takes place.
Also.... there is a RefreshSort method on the row that will move the row to it's new proper place without re-sorting everything. This is more efficient, assuming everything is in the grid is already sorted properly.
Hello,
In order to refresh the sorting after the data was changed or added you should call RefreshSort:ultraGrid1.DisplayLayout.Bands[0].SortedColumns.RefreshSort(true)
I hope this helps.