# Function colsSet()

>**colsSet**(table, colNames)
- Set the columns to the table

- See [Functions](../functions.md)

## Parameters

| Parameter |Type |Default |Description |
|  ---- | ---- | ---- | ---- |
**table** |object | |the table object |
**colNames** |array | |string array of column names |
