Projects:Movable columns in a grid/Specifications
Movable Columns in a Grid - Functional Specifications
The aim of this project is to add to the Data Grid the capability of change the columns order.
To do this a previous step is needed.
Previous Steps
Actually the column resizing is done pressing the mouse in any position of the column header and moving the mouse horizontally as is shown in the following picture.
The new column resizing behaviour should be pressing the mouse in the column header border and moving the mouse horizontally.
Functional Requirements
The column movement will be done with a drag and drop:
- While pressing a column header and with a mouse movement, the column name will appear at the right of the cursor (the original column header remains in its place).
- Still with the mouse pressed, you could move the mouse across the data grid, and an arrow will appear in the top of column header border nearest to your cursor position, indicating the target position of where the dragged column will go if you release the mouse.
- When the mouse is released, the column will be moved to the position indicated by the arrow.