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.
Unfortunately, activation email could not send to your email. Please try again.

retrieve position of a datagrid column

Thread ID:

Created:

Updated:

Platform:

Replies:

112263 Sep 16,2013 05:24 AM Sep 30,2013 01:40 AM WinRT 3
loading
Tags: SfDataGrid
marco
Asked On September 16, 2013 05:24 AM

Hi, 

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?

 

Br,

Marco


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

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


marco
Replied On September 24, 2013 04:57 AM

thanks!


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

Hi Marco,

 

Thanks for your update.

 

Please let us know if you have any queries.

 

Thank you,

Jai Ganesh S


CONFIRMATION

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.

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.

;