FlexGrid comes with clipboard support to readily provide cut, copy and paste operations. The control also supports hardware keyboards by allowing navigation through the use of arrow keys.
The supported keystrokes and their purpose are listed alphabetically as follows:
Keystroke | Purpose/Description |
Ctrl+C | Copies the selected text. |
Ctrl+X | Cuts the selected text. |
Ctrl+V | Pastes the copied text. |
F2 | Enters the edit mode. |
Enter/Return | Leaves the edit mode. |
Left | Navigates cell selection towards the left. |
Right | Navigates cell selection towards the right. |
Up | Navigates the cell selection upward. |
Down | Navigates the cell selection downward. |
Tab | Navigate the cells of the grid by moving the selection to the next column, then wrap to the next row. To enable the Tab key action, you need to set the KeyActionTab property. This property accepts value from the GridTabAction enumeration. |
Shift+Left | Expands column range towards the left or decreases column range based on the context. If range has already expanded to right, this will gradually decrease range selection down to one column. After this single column threshold is hit, it will then expand the selection to the left if it continues to be pressed after this. |
Shift+Right | Expands column range towards the right or decreases column range based on the context. If range has already expanded to left, this will gradually decrease range selection down to one column. After this single column threshold is hit, it will then expand the selection to the right if it continues to be pressed after this. |
Shift+Up | Expands row range upwards or decreases row range based on the context. If range has already expanded downwards, this will gradually decrease range selection to one row. After this single row threshold is hit, it will then expand the selection to the upwards if it continues to be pressed after this. |
Shift+Down | Expands row range downwards or decreases row range based on the context. If range has already expanded upwards, this will gradually decrease range selection to one row. After this single row threshold is hit, it will then expand the selection to the downwards if it continues to be pressed after this. |