tblITableEditor GetNumberOfColumns

Returns the number of columns in the table.

Syntax

tblITableEditor_handle GetNumberOfColumns

Application

Tcl Query

Description

This command returns the number of total columns in the table, independent if there are values in the columns or not.

Example

Get the number of total columns:
set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
set numColumns [$activetableHandle GetNumberOfColumns]

Errors

Success (0) or an error message is returned.