# Function totalCols()

>**totalCols**(table)
- Total columns in the table
- **Return {number}** - the total columns in the table
- See [Functions](../functions.md)

## Parameters

| Parameter |Type |Default |Description |
|  ---- | ---- | ---- | ---- |
**table** |object | |The table object |
