tblITableEditor GetFilledTableDetails
Returns information about the table cells which are not empty.
Syntax
tblITableEditor_handle GetFilledTableDetails Filled Table Size Rows,Filled Table Size Columns,Filled Top Row Index,Filled Bottom Row Index,Filled Left Column Index,Filled Right Column Index,Filled Top Left Cell,Filled Bottom Right Cell
Application
Tcl Query
Description
This command returns a list with the following information about the table cells which are not empty.
Inputs
- Filled Table Size Rows
- Number of rows between the top and bottom row, which contain cell values.
- Filled Table Size Columns
- Number of columns between the left-most and right-most column, which contain cell values.
- Filled Top Row Index
- Row index of the top row, which contain cell values.
- Filled Bottom Row Index
- Row index of the bottom row, which contain cell values.
- Filled Left Column Index
- Column index of the left-most row, which contain cell values.
- Filled Right Column Index
- Column index of the right-most row, which contain cell values.
- Filled Top Left Cell
- Top left cell name with the column as name.
- Filled Bottom Right Cell
- Bottom right cell name with the column as name.
Example
The following cells are filled in a table:
The variable $tableDetailList created with the code below will be { 5 4 5 9 2 5 B5
E9}.
set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
set tableDetailsList [$activetableHandle GetFilledTableDetails]
Errors
Success (0) or an error message is returned.