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

columns reorder by drag and drop in grid

Hi, I want to give user the flexibility to chnage the order of the columns .When the columns are changed the data should also get exchanged .For data i am using an array. Please guide me . Cheers, Neetu.

1 Reply

ST stanleyj Syncfusion Team January 25, 2006 03:40 PM UTC

Hi Neetu, All the grids have this functionality. GGC has this by default, GDBG has AllowDragSelectedCols by default, for GC set AllowDragSelectedCols to true. There is also other option for GC and GDBG is DragColumnHeader, introduced in 3.3. This will look similar to what GGC has in default. grid.ControllerOptions = GridControllerOptions.All | GridControllerOptions.DragColumnHeader; Best regards, Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon