>This should be common requirement, most grid work in this way.
I use a 3rd party grid control and it is a built-in feature.
>Thank you.
>This descrbes how to to it programmatically.
>
>How to fire the code like
>
>
> MoveColumn(myDataGrid, "Customers", 3, 1);
>
>when user uses mouse to change column orders?
>
>This should be common requirement, most grid work in this way.
>Where to find sample which implements this in DataGrid ?
>
>
>
>>See
http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q764q>>
>>
>>>I have .NET 1 WinForms DataGrid bound to DataTable in C#
>>>
>>>I need to change column order interactively. VFP grid control allows column reordering by dragging column header by mouse.
>>>
>>>I tried but DataGrid does not allow this.
>>>
>>>How to implement column reordering in DataGrid ?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com