Drag Column Headers in Dev Express Grids
We have a scenarios where we need to change the postion of Columns in Grid by Dragging column from one postion to other.
When recorded follwoing method was considered by Test Complete
Call gridColumnHeader.Drag(44, 12, 151, -8)
My concern is to the Drag method we need to pass the co-ordinates which is not a relaible way to automate these scenarios.
Thus I wanted to know if there is any method that are supprted by Column Headers that can Drag the Column from say postion 1 to Postion 5.
I tried using the Following methods but could not figure out how these can be actually helpful.
get_DragDropHelper, get_CurrentDropTarget, get_DragElement, DragElement , GetPositionProvider, etc.
Refer to the following article demonsrtating how to drag a column in the XrtaGrid column: Drag an XtraGrid column
SmartBear Technical Community Manager, Testing Tools
Interested in more, visit our SmartBear community