How to drag and drop gridview columns in runtime

Hi All

We have a problem with drag and drop feature in grid view columns.
Our requirement is to drag and drop grid view columns at run time.
Is this functionality is possible?Any ideas?

Thanks and Regards
Sreeni team
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

danaseamanConnect With a Mentor Commented:
Reorder columns by using the drag-and-drop method.

Users can reorder columns in a GridView by pressing the left mouse button while it is over a column header and then dragging that column to a new position. While the user drags the column header, a floating version of the header is displayed as well as a solid black line that shows where to insert the column.

If you want to modify the default style for the floating version of a header, specify a ControlTemplate for a GridViewColumnHeader type that is triggered when the Role property is set to Floating. For more information, see How to: Create a Style for a Dragged GridView Column Header.

More info at:
jeesrinuAuthor Commented:
All Courses

From novice to tech pro — start learning today.