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

How to change GridDataVisibleColumn orders after drag and drop in GridDataControl?

         Can you help me how to change GridDataVisibleColumn orders after drag and drop in GridDataControl programmatically?


1 Reply

AN Ashok N Syncfusion Team November 18, 2014 12:27 PM UTC

Hi Shwe,

Thank you for contacting Syncfusion Support.

We have analyzed your query but we are unable to understand your query clearly. Could you please share more details regarding your query, that would be more helpful for us to give better solution? If you want to rearrange the VisiableColumn position programmatically , you can use this.dataGrid.VisibleColumns.Move method. Please refer the following code snippet to achieve this requirement:

C# code snippet:

private void Button_Click(object sender, RoutedEventArgs e)


    this.dataGrid.VisibleColumns.Move(2, 3); //give the index position Move(int fromIndex, int toIndex)


Please let us know if you require further assistance.



Live Chat Icon For mobile
Up arrow icon