Prerequisites
- A parent column of type
multiItemLinkalready configured in yourrisksheet.json - Knowledge of the Polarion field IDs for the linked item properties you want to display
- Access to the
risksheet.jsonconfiguration file
Step 1: Configure the Parent Link Column
Start by defining the parentmultiItemLink column. This column displays the linked item IDs and provides the relationship that sub-columns reference:
binding value (in this example, testCase) is the Polarion link role that connects the risk item to its linked items. This binding becomes the prefix for all sub-column bindings.
Step 2: Add Sub-Columns Using Dotted Binding Syntax
Add additional columns with bindings that reference properties of the parent link column using dot notation. The format is<parentBinding>.<fieldId>:
testCase.title binding tells Risksheet to display the title field of each item linked through the testCase link role. Similarly, testCase.status displays the workflow status of the linked item.
Step 3: Group Sub-Columns Under a Shared Header
Use theheaderGroup property to visually group the parent link column with its sub-columns under a common header label. This creates a two-level column header structure where the first row shows the group name and the second row shows individual column names:
| Test Cases (headerGroup) | ||
|---|---|---|
| ID | Title | Status |
| TC-101 | Brake endurance test | Passed |
| TC-102 | Signal latency test | Failed |
headerGroupCss on any column in the group to apply CSS styling to the group header row, and headers.columnGroupHeader.height to control the group header row height (default: 32 pixels).
Step 4: Configure Sub-Column Editability
Sub-columns for linked items are typically set toreadOnly: true because they display data from a different work item. However, you can make sub-columns editable if you want users to modify linked item properties directly from the Risksheet grid:
readOnly is set to false, users can click the cell and edit the linked item’s property value. Changes are saved to the linked work item when the user saves the Risksheet.
Step 5: Handle Multiple Linked Items and Cell Merging
When a parentmultiItemLink column has multiple linked items, Risksheet creates one row per linked item. The parent item’s columns merge vertically across these rows, while sub-columns display the individual linked item properties:
levels configuration. Sub-column values participate in merge evaluation, and empty or invalid JSON values in multi-item link columns prevent merging.
Step 6: Verify Your Configuration
- Save your
risksheet.jsonchanges - Refresh the Risksheet page in your browser
- You should now see the sub-columns appearing next to the parent link column
- When multiple items are linked, each linked item’s properties should appear in separate rows within the corresponding sub-columns
- Verify that the header group label displays correctly as a merged header above the grouped columns
- If you enabled editing on sub-columns, click a sub-column cell and confirm the editor opens
See Also
- Show Multiple Linked Items — configure
multiItemLinkcolumn basics - Configure Upstream Traceability Columns — upstream linked item properties
- Configure Downstream Traceability Columns — downstream task sub-columns
- Control Column Visibility — show and hide columns including sub-columns
- Display Multi-Level Hierarchies — understand how levels affect sub-column merging
- Add a Basic Column — general column configuration properties
Sources
Sources
KB Articles
- Display Sub-columns for multiItemLink columns
- Enable editing of read-only up-stream columns
- Collect multiple link columns into one column
CustomMergeManager.tsColumnsHelper.tsrisksheet.jsonPolarionAppConfigManager.javaAppConfig.ts