table_getSelectedCellRangesData
function table_getSelectedCellRangesData<TFeatures, TData>(table): unknown[][][];Defined in: features/cell-selection/cellSelectionFeature.utils.ts:1206
Returns each final positive region's values as a row-major grid.
This is the raw material for clipboard export. Serializing it to text is left to userland, since the delimiter, the null representation, and whether values containing delimiters get quoted are all application decisions.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
Returns
unknown[][][]
Example
const [firstRange] = table_getSelectedCellRangesData(table)