Define Levels in Configuration
Add alevels array to your sheet configuration. Each entry defines one visual tier of the hierarchy:
Assign Columns to Levels
Each column in yourcolumns array specifies which level it belongs to. Columns at the same level merge vertically when their parent control column values match. Note that the column level property is 1-indexed: level: 1 maps to the first entry in the levels array.
task.* fields) do not have a level assigned — they follow separate merge logic based on the parent risk item.
Understand Merge Behavior
Nextedy RISKSHEET automatically merges cells based on the levels hierarchy:
Key merge rules:
- Level 2 cells merge within the same level 1 group when their control column values match
- Empty cells in control columns act as merge boundaries — they stop merge propagation between unrelated groups
- Downstream and task columns follow separate merge rules based on work item ID grouping
Display Multi-Level Linked Items
To display items linked across multiple levels, you have two approaches.Approach A: Transitive Linking with upstreamChains
The upstreamChains property automatically builds transitive link chains across levels:
fromType-linkRole-toType. This creates automatic transitive links so items connected through intermediate levels appear in the correct hierarchy.
Approach B: Server-Side Rendering for Read-Only Display
For read-only display of indirectly linked items, useserverRender with a Velocity script:
serverRender are automatically read-only and render on the server side.
Configure Sort Order for Hierarchies
Define the default sort order to align with your hierarchy usingsortBy:
Complete FMEA Hierarchy Example
A three-level FMEA configuration with System Element, Failure Mode, and Cause:Troubleshooting
Verification
After configuring your levels hierarchy, you should now see:- Level 1 cells merging vertically when consecutive rows share the same system element
- Level 2 cells merging within their parent level 1 group
- The context menu showing “New Item” options for levels where
showInMenuistrue - Zoom navigation jumping to the column referenced by each level’s
zoomColumn - Rows sorted according to the
sortByorder, preserving the hierarchy structure
See Also
- Add a Basic Column — column definition fundamentals
- Configure Column Sorting — sort order configuration
- Configure Upstream Traceability Columns — upstream link columns
- Configure Downstream Traceability Columns — downstream link columns
- Display Sub-Columns — nested column display within multi-item links