Skip to main content
Table of Contents

TTMSFNCDataGridSelectionMode Enumeration

Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).

API unit family: TMSFNCDataGridRenderer

Remarks

In the disjunct modes Ctrl+Click (Cmd+Click on macOS) toggles an item without clearing the existing selection, and Shift+Click or dragging extends a range. Disjunct selections are read back through the grid's selected cell, row and column collections rather than a single start/stop range.

Members

Name Description
gsmNone Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmSingleCell Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmSingleRow Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmSingleColumn Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmCellRange Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmRowRange Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmColumnRange Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmDisjunctRow Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmDisjunctColumn Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmDisjunctCell Controls how the user can select cells: gsmNone disables selection; gsmSingleCell (default) selects one cell; gsmSingleRow selects one full row; gsmSingleColumn selects one full column; gsmCellRange selects a contiguous rectangular block of cells; gsmRowRange selects a contiguous range of full rows; gsmColumnRange selects a contiguous range of full columns; gsmDisjunctRow selects any set of non-adjacent rows; gsmDisjunctColumn selects any set of non-adjacent columns; gsmDisjunctCell selects any set of individual cells or rectangular blocks; gsmDisjunctCellRange works like gsmDisjunctCell but a Shift or drag range follows reading order, as in text selection (from the start cell to the end of its row, all rows in between, and up to the end cell on the last row).
gsmDisjunctCellRange