Is there any way how to refresh sorting on RadGridView easy way (i.e. force grid to re-sort according actual sorting settings)? I'm now using following code, but it's kind of ugly.
I'm sorting according to first column.
Thanks for any help.
Regards,
Daniel
private void uxTourGrid_CellEndEdit(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e) | |
{ | |
if (e.ColumnIndex == 0 && uxTourGrid.Columns[0].SortOrder != RadSortOrder.None) | |
{ | |
RadSortOrder sort = uxTourGrid.Columns[0].SortOrder; | |
uxTourGrid.Columns[0].SortOrder = RadSortOrder.None; | |
uxTourGrid.Columns[0].SortOrder = sort; | |
} | |
} | |
Thanks for any help.
Regards,
Daniel