I am interested in measuring the time and performance of the grouping and sorting functionality of the Xceed Grid. I need a way to trap the event of dragging and dropping the column header to group by that field, as well as clicking on the column header to sort that field. i Have about 9k records to test and its important for me to know the amount of time it takes with a large dataset.
Does anyone have any suggestions or methods or functions I can look at in order to do this. Thanks.
Imported from legacy forums. Posted by sgkatz05 (had 3461 views)
There is no built-in event that will allow you to do this. The measure the grouping performance, you can simply change the GroupTemplate to the grouping you want and then call UpdateGrouping. It is during the UpdateGrouping that the Grid will update itself to the new “grouping”.
As for the sorting, you can change the SortedColumns, doing this will trigger the grid to “re-sort” itself.
Imported from legacy forums. Posted by Matt (had 3053 views)