Tells whether a column can be dropped at specified positions.
Override this function to prevent some columns to be dropped at specified positions.
- Parameters
-
nNewPosition | New order of a dragged column. The zero-based order in which the item appears in the column header control, from left to right. |
nOldPosition | The current order of a dragging column. The zero-based order in which the item appears in the grid header control, from left to right. If nOldPosition is -1 then the column is currently hidden and being dragged from the Column Chooser. |
- Returns
- Should return TRUE, if the specified column can be dropped during drag-and-drop operations; otherwise FALSE.