We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GGC Soeted Selected rows

I have a GGC with a DataSource=DataTable. 1 .How do I get all SelectedRecords in a proper sort order. If I select some records, then sort the grid, the rows are highlighted correctly, but iteration through grid.Table.SelectedRecords returns records in original order. 2. Is there a way to propagate sorting (user clicks on column headers) back to the datasource (DataTable.DefaultView.Sort)? Thank you.

1 Reply

AD Administrator Syncfusion Team September 15, 2005 09:14 AM UTC

Hi Here is a sample in which I have 2 grids. Now you can select the records , sort them and then clickon the button. Now you can see the sorted Datavie win the another grid and selected records in the sorted order printed in console. AccessingSelectedRecords_8677.zip Best Regards Mouli.

Loader.
Live Chat Icon For mobile
Up arrow icon