HA
haneefm
Syncfusion Team
October 22, 2007 05:33 PM UTC
Hi Code12345,
Thank you for your interest in Syncfusion products.
Moving columns is support by default in a Essential Grid. If you click a colheader to select the column, then if you mousedown on the selected column header, you can drag and drop it in another position.
If you do not see this behavior, check the AllowDragSelectedCols property to make sure it is on.
If you want to control the DragandDrop column header, then catch the ColsMoving event to cancel it if the args point to columns or a target location you do not want moved.
The SelectionDragging and SelectionDragged are fired when you started dragging a whole column or whole row that you have previously selected by clicking the header. These event are not part of the OLE D&D support in Essential Grid.
Best regards,
Haneef
JO
John
October 24, 2007 03:08 PM UTC
Hi Haneef,
I used the ColsMoved event to handle what I needed. Thanks!