I am using GDBG 22.214.171.124
User has multi-select enabled.
When I sort by clicking on a column header
1) all selections disappear without even firing Model.SelectionChanging (see GridDataBoundGrid.SortField)
2) current row is left at the same grid row index, it does not move to the new row location
I understand that keeping track of resorted multiple selection is a hassle.For me it would be sufficient if events were fired before and after sort.
1) sort about to happen event to know that I have to save currently selected records
2) sort completed event where I could restore the multi-selection as needed.
In addition selectionchanging definetely should be called when selection is being cleared by sort.
I tried to open DirectTrac, but apparently web interface is broken.
ADAdministrator Syncfusion Team February 9, 2004 02:13 PM
I have updated your support incident regarding this issue. Please log on to the Direct-Trac to see the reply.
AAAlexander ArlievskyFebruary 11, 2004 03:42 AM
I have the same problem (using 126.96.36.199).
What is the solution ?
ADAdministrator Syncfusion Team February 11, 2004 04:56 AM
One way to do this is to handle the sort yourself, saving what you want saved before the sort, and then restoring things after the sort. You can do this by turning off the default sorting, catching the doubleclick event, and doing the work in your handler. Here is a sample.
Another technique is to derive the grid and override SortColumn, and do things there like saving information, calling the baseclass, and then restoring the save information.