Set a Fixed Pixel Width
Assign a number to thewidth property to set the column width in pixels:
id column to exactly 80 pixels and the description column to 140 pixels.
Set a Proportional Width
Use a string with* to define proportional width relative to other star-sized columns. The available space (after fixed-width columns are allocated) is distributed proportionally:
id column takes 80 pixels, the remaining space is split — title gets one share and description gets two shares.
| Width Value | Type | Behavior |
|---|---|---|
80 | Number | Fixed width of 80 pixels |
"*" | String | One proportional share of remaining space |
"2*" | String | Two proportional shares of remaining space |
If
width is not specified, the default value is "*" — the column takes one proportional share of the available space.Set a Minimum Width
UseminWidth to prevent a column from shrinking below a certain pixel threshold when the sheet is resized:
minWidth is 150 pixels. This prevents narrow columns from making content unreadable when many columns are displayed simultaneously.
Width Strategy Decision Guide
Complete Example
Verify
After saving the sheet configuration, reload the powersheet document. You should now see columns displayed with the widths you configured — fixed-width columns maintaining their exact pixel size and star-sized columns filling the remaining space proportionally.See also
Sources
Sources
KB ArticlesSource Code
prod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/configurations/constraints_currentDocument_downstream.template.yamlpowersheet.yamlprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/api/document.tsprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/configurations/whole_rtm.template.yamlprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ConfigProvider/types/PowersheetConfig.d.ts