The following table lists several mouse and keyboard shortcuts that can be used to navigate and manipulate the grid at run time. Note that on Apple computers, end users should use the Command (or Apple) key in place of the CTRL key:
Mouse Action | Description |
---|---|
Click an unselected row | Makes the clicked row the current row. |
Click a cell in the current row | Puts the clicked cell into edit mode. |
Drag a column header cell | Moves the column so that it can be dropped into a new position (if the CanUserReorderColumns property is True and the current column's CanUserRorder property is True). |
Drag a column header separator | Resizes the column (if the CanUserResizeColumns property is True and the CanUserResize property is True for the current column). |
Click a column header cell |
If the property ColumnHeaderClickAction is set to Sort, when the user clicks the column header it sorts the column (if the CanUserSortColumns property is True and the CanUserSort property is True for the current column). Clicking the header of a column that is already sorted will reverse the sort direction of that column. Pressing the CTRL key while clicking multiple column headers will sort by multiple columns in the order clicked. If the property ColumnHeaderClickAction is set to Select the column will be selected if SelectionMode supports column selection. |
CTRL + click a row | Modifies a non-contiguous multi-row selection (if SelectionMode support multiple rows, cells, or columns). |
SHIFT + click a row | Modifies a contiguous multi-row selection (if SelectionMode support multiple rows, cells, or columns). |