Programmer's Guide > Interfaces > TableGrid interface > columnCount attribute
  
columnCount attribute
The number of columns in the grid
columnCount
Access
read-only
Returns
unsigned long