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

retrieve position of a datagrid column

Thread ID:





112263 Sep 16,2013 09:24 AM UTC Sep 30,2013 05:40 AM UTC WinRT 3
Tags: SfDataGrid
Asked On September 16, 2013 09:24 AM UTC


Is there a way to retrieve the position of a column in the datagrid.

I want to save the state of a datagrid after the manipulation_complete event. 

For example, I have a column with mappingName  'x',  at the beginning of the application it is the fourth column in the datagrid, but the user switches this column into first position, so is there a way to know this column is now the first column in the datagrid?




Jai Ganesh S [Syncfusion]
Replied On September 17, 2013 09:01 AM UTC

Hi Marco,


Thanks for using Syncfusion products.


We have analyzed your query. You can retrieve the position of the column by using “columns” property of DataGrid. We have prepared a simple sample to achieve your requirement and please check the sample under the following location.


Sample: GridColumnPositionSample.zip


Please let us know if you need further assistance.


Thank you,

Jai Ganesh S

Replied On September 24, 2013 08:57 AM UTC


Jai Ganesh S [Syncfusion]
Replied On September 30, 2013 05:40 AM UTC

Hi Marco,


Thanks for your update.


Please let us know if you have any queries.


Thank you,

Jai Ganesh S


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

This page will automatically be redirected to the 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