Property Definition
| Property | Type | Default | Description |
|---|---|---|---|
columns.<key>.render | string | None | JavaScript arrow function string returning HTML, or a predefined renderer name. Evaluated at render time in the browser. |
Render Types
| Type | Syntax | Description |
|---|---|---|
| Inline function | render: > () => ... | JavaScript arrow function returning HTML template literal |
| YAML anchor | render: *displayItemAsIconIDTitleLink | Reference to a reusable YAML anchor |
| Predefined renderer | render: myCustomRenderer | Reference to a renderer name defined in configuration |
Render Resolution Flow
Context Object
The JavaScript function has access to acontext object for building dynamic HTML:
| Variable | Description |
|---|---|
context.value | The current cell value |
context.item | The current row item with entity properties (projectId, id, entityType) |
context.item.entityType.custom.iconPath | Icon path from entity type metadata |
context.item.projectId | Polarion project ID of the current item |
context.item.id | Work item ID of the current item |
context.polarionModel.polarionBaseUrl | Base URL of the Polarion server |
Inline Function Render
Render with Icon and Link
Using a YAML anchor for reuse across columns:Predefined Renderer Reference
Renderers can be defined in the configuration and referenced by name:The exact
renderers section configuration and available predefined renderer names may vary. Verify the supported renderer names in your Powersheet version.Render vs Display
| Aspect | display | render |
|---|---|---|
| Primary purpose | Select which property of a referenced entity to show | Full custom HTML rendering |
| Property name input | title, id, titleOrName | Not supported (function or name only) |
| JS function input | Supported | Supported |
| Predefined names | Not supported | Supported via renderers section |
| Typical use | Navigation columns needing property selection | Any column needing custom HTML |
Complete YAML Example
Related Pages
- Display Property — property selection for navigation columns
- Column Properties — full column property reference
- Binding Syntax — column binding path patterns
- Server Rendering — server-side rendering reference
Source references: Column Configuration Guide KB article, powersheet.yaml, domain/document.ts (Column.render)
Sources
Sources
KB ArticlesSource Code
configContext.tsprod-powersheet-src/com.nextedy.powersheet/src/com/nextedy/powersheet/PowersheetService.javaprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/domain/document.tsprod-powersheet-src/com.nextedy.powersheet.client/src/modules/Powersheet/Powersheet.tsxprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ConfigProvider/ConfigProvider.tsx