Column Definition Structure
Columns are defined as an object where each key is a binding path and each value is a property object:Property Reference
Display Properties
| Property | Type | Default | Description |
|---|---|---|---|
title | string | None | Display label for the column header |
width | number/string | "*" | Column width in pixels (number) or proportional width (string with *, e.g., "*", "2*") |
minWidth | number | 150 | Minimum column width in pixels for responsive layouts |
visible | boolean | true | Controls whether the column is shown in the default view. Can be overridden in views. |
display | string | id | Specifies which property of a referenced entity to display. Options: title, titleOrName, id, or a custom property path. Can also be a JavaScript function string. See Display Property. |
render | string | None | Custom HTML rendering function or predefined renderer name. See Render Property. |
Behavior Properties
| Property | Type | Default | Description |
|---|---|---|---|
hasFocus | boolean | false | Indicates this column receives initial focus for user interaction. Multiple columns in a hierarchy can have hasFocus for different entity levels. Auto-configured to first editable column if not set. |
isreadOnly | boolean | false | Prevents user editing of this column. Deprecated in favor of formatter: readOnly. |
multiItem | boolean | false | Indicates this column displays multiple related items (one-to-many or many-to-many relationship). See Multi-Item Columns. |
sort | string | None | Default sort direction for this column. Values: "asc", "desc". Applied in addition to global sortBy. |
groupBy | boolean | false | Enables row grouping by this column’s values |
Styling Properties
| Property | Type | Default | Description |
|---|---|---|---|
header | object | None | Custom styling for the column header. Contains style sub-property referencing a named style. Can use YAML anchors for reuse. See Header Styles. |
header.style | string | None | Name of a predefined or custom style to apply to the column header |
formatter | string | None | References a formatter name from the formatters section to apply conditional styling |
columnGroup | string | None | Assigns the column to a visual column group |
Picker Properties
| Property | Type | Default | Description |
|---|---|---|---|
list | object | None | Configuration for picker/dropdown lists when selecting related entities |
list.search | array | None | Array of property names to search when filtering entities in picker dropdowns (e.g., [title, id]) |
list.display | string | None | JavaScript function string for custom dropdown item rendering |
list.createNew | boolean | false | Whether to allow creating new linked items directly from the dropdown |
list.options | string | None | For enum types, references a query ID from sources that provides enum values |
list.value | string | None | For enums, the property name from the options source to use as the actual value |
list.order | string | None | For enums, the property name from the options source to sort the list by |
Column Property Categories
Simple Column
Navigation Column
Reference Column with Picker
Multi-Item Column
Complete YAML Example
Related Pages
- Binding Syntax — column key patterns and navigation paths
- Display Property — controlling what is shown for referenced entities
- Render Property — custom HTML cell rendering
- Multi-Item Columns — one-to-many column configuration
- Header Styles — styling column headers
- Formatters — conditional cell formatting
- Views — overriding column visibility per view
Source references: Column Configuration Guide KB article, powersheet.yaml, whole_rtm.template.yaml
Sources
Sources
KB ArticlesSupport TicketsSource Code
powersheet.yamlmodel.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/cypress/fixtures/configurations/constraints_composing.template.yaml