Step 1: Open the Sheet Configuration
- Open your powersheet document
- Go to Menu > Configuration > Edit Document Configuration
- Locate the
columnssection in the YAML
Step 2: Add a Simple Property Column
Each column key is a binding path that maps to an entity property defined in the domain model. Add a new entry undercolumns:
title, description) must match a property name defined in your domain model entity type.
Step 3: Add a Navigation Property Column
To display properties from related entities, use dot-separated binding paths that follow the relationship chain defined in the domain model:systemRequirements.systemRequirement navigates from the root entity through the systemRequirements relationship to the SystemRequirement entity type.
Column Properties Reference
| Property | Type | Default | Description |
|---|---|---|---|
title | string | — | Display label in the column header |
width | number or string | * | Width in pixels or proportional (*, 2*) |
minWidth | number | 150 | Minimum width in pixels |
visible | boolean | true | Whether the column is shown by default |
display | string | — | Which property of a referenced entity to show |
multiItem | boolean | false | Enable multi-item display for one-to-many relationships |
isReadOnly | boolean | false | Prevent editing in this column |
hasFocus | boolean | false | Column receives initial focus when editing |
formatter | string | — | Name of a formatter for conditional styling |
columnGroup | string | — | Assign column to a visual column group |
header | object | — | Custom header styling configuration |
groupBy | boolean | false | Enable row grouping by this column’s values |
sort | string | — | Default sort direction (asc or desc) |
Step 4: Configure Display for Linked Entities
When a column binds to a navigation property (a related entity), usedisplay to specify which field to show:
display property:
Step 5: Configure Picker Search for Linked Entities
Addlist.search to define which properties are searchable when users pick related items:
Step 6: Set Column Header Style
Apply predefined or custom styles to column headers:Verify
After saving the sheet configuration, reload the powersheet document. You should now see:- The new column appears in the sheet with the specified title
- Data from the bound property or navigation path is displayed
- For multi-item columns, all linked entities are shown in the cell
- Picker dialogs allow searching by the configured fields
See Also
- Configure Column Width — fine-tune column sizing
- Configure a Column Group — group related columns together
- Configure a Formatter — add conditional styling to columns
- Apply Column Styles — style column headers
- Add External Reference Column — add linked external references
Source reference
Source reference
column-configuration-guide KB article, powersheet.yaml, whole_rtm.template.yaml, document.ts
Sources
Sources
KB Articles
- How to Add a New Column for External References Linked to Design Outputs
- Getting Started: Sheet Configurations
- Column Configuration Guide
prod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/domain/document.tspowersheet.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