I have an instance where I turn off the sorting of the grid temporarily and then, in another event, turn it back on. I turn the sort on by setting dv.Sort where dv is the underlying DataView. I need to know when the grid is finished resetting the sort so that I can do one more thing. Is there an event that fires when the sorting of the grid is complete?
ADAdministrator Syncfusion Team June 2, 2005 06:55 PM
Something to try.
Subscribe to the dv.ListChanged event where dv is your DataView.
dv.ListChanged += new ListChangedEventHandler(dv_ListChanged);
Then in the event handler, look for the Reset action. You may need to set a flag before you sort using dv.Sort as the reset action can occur for reasons other than a sort.