TTMSFNCDataGridEnterKeyHandling Enumeration
Controls where focus moves when an inplace edit is confirmed with Enter:
gekhNone(default) keeps the focused cell;gekhNextColumnmoves to the next column, wrapping to the first column of the next row and from the last row to the first cell;gekhNextRowmoves to the next row, wrapping to the first row of the next column and from the last column to the first cell;gekhNextColumnInRowmoves to the next column and wraps to the first column of the same row;gekhNextRowInColumnmoves to the next row and wraps to the first row of the same column;gekhNextColumnAndAppendmoves to the next column and appends a new column when on the last one;gekhNextRowAndAppendmoves to the next row and appends a new row when on the last one;gekhNextRowAndColumnAppendbehaves likegekhNextRowbut appends a new column instead of wrapping from the last cell;gekhNextColumnAndRowAppendbehaves likegekhNextColumnbut appends a new row instead of wrapping from the last cell.
API unit family: TMSFNCDataGridRenderer
Remarks
Only applies when an inplace editor is closed with Enter. Appending fires the grid's can-append event (which can cancel it) and the append event. Disabled cells are skipped.
Members
| Name | Description |
|---|---|
gekhNone |
Controls where focus moves when an inplace edit is confirmed with Enter: gekhNone (default) keeps the focused cell; gekhNextColumn moves to the next column, wrapping to the first column of the next row and from the last row to the first cell; gekhNextRow moves to the next row, wrapping to the first row of the next column and from the last column to the first cell; gekhNextColumnInRow moves to the next column and wraps to the first column of the same row; gekhNextRowInColumn moves to the next row and wraps to the first row of the same column; gekhNextColumnAndAppend moves to the next column and appends a new column when on the last one; gekhNextRowAndAppend moves to the next row and appends a new row when on the last one; gekhNextRowAndColumnAppend behaves like gekhNextRow but appends a new column instead of wrapping from the last cell; gekhNextColumnAndRowAppend behaves like gekhNextColumn but appends a new row instead of wrapping from the last cell. |
gekhNextColumn |
Controls where focus moves when an inplace edit is confirmed with Enter: gekhNone (default) keeps the focused cell; gekhNextColumn moves to the next column, wrapping to the first column of the next row and from the last row to the first cell; gekhNextRow moves to the next row, wrapping to the first row of the next column and from the last column to the first cell; gekhNextColumnInRow moves to the next column and wraps to the first column of the same row; gekhNextRowInColumn moves to the next row and wraps to the first row of the same column; gekhNextColumnAndAppend moves to the next column and appends a new column when on the last one; gekhNextRowAndAppend moves to the next row and appends a new row when on the last one; gekhNextRowAndColumnAppend behaves like gekhNextRow but appends a new column instead of wrapping from the last cell; gekhNextColumnAndRowAppend behaves like gekhNextColumn but appends a new row instead of wrapping from the last cell. |
gekhNextRow |
Controls where focus moves when an inplace edit is confirmed with Enter: gekhNone (default) keeps the focused cell; gekhNextColumn moves to the next column, wrapping to the first column of the next row and from the last row to the first cell; gekhNextRow moves to the next row, wrapping to the first row of the next column and from the last column to the first cell; gekhNextColumnInRow moves to the next column and wraps to the first column of the same row; gekhNextRowInColumn moves to the next row and wraps to the first row of the same column; gekhNextColumnAndAppend moves to the next column and appends a new column when on the last one; gekhNextRowAndAppend moves to the next row and appends a new row when on the last one; gekhNextRowAndColumnAppend behaves like gekhNextRow but appends a new column instead of wrapping from the last cell; gekhNextColumnAndRowAppend behaves like gekhNextColumn but appends a new row instead of wrapping from the last cell. |
gekhNextColumnInRow |
Controls where focus moves when an inplace edit is confirmed with Enter: gekhNone (default) keeps the focused cell; gekhNextColumn moves to the next column, wrapping to the first column of the next row and from the last row to the first cell; gekhNextRow moves to the next row, wrapping to the first row of the next column and from the last column to the first cell; gekhNextColumnInRow moves to the next column and wraps to the first column of the same row; gekhNextRowInColumn moves to the next row and wraps to the first row of the same column; gekhNextColumnAndAppend moves to the next column and appends a new column when on the last one; gekhNextRowAndAppend moves to the next row and appends a new row when on the last one; gekhNextRowAndColumnAppend behaves like gekhNextRow but appends a new column instead of wrapping from the last cell; gekhNextColumnAndRowAppend behaves like gekhNextColumn but appends a new row instead of wrapping from the last cell. |
gekhNextRowInColumn |
Controls where focus moves when an inplace edit is confirmed with Enter: gekhNone (default) keeps the focused cell; gekhNextColumn moves to the next column, wrapping to the first column of the next row and from the last row to the first cell; gekhNextRow moves to the next row, wrapping to the first row of the next column and from the last column to the first cell; gekhNextColumnInRow moves to the next column and wraps to the first column of the same row; gekhNextRowInColumn moves to the next row and wraps to the first row of the same column; gekhNextColumnAndAppend moves to the next column and appends a new column when on the last one; gekhNextRowAndAppend moves to the next row and appends a new row when on the last one; gekhNextRowAndColumnAppend behaves like gekhNextRow but appends a new column instead of wrapping from the last cell; gekhNextColumnAndRowAppend behaves like gekhNextColumn but appends a new row instead of wrapping from the last cell. |
gekhNextColumnAndAppend |
|
gekhNextRowAndAppend |
|
gekhNextRowAndColumnAppend |
|
gekhNextColumnAndRowAppend |