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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC Soeted Selected rows

Thread ID:





34716 Sep 14,2005 10:08 PM UTC Sep 15,2005 09:14 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 14, 2005 10:08 PM UTC

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.

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon