Set multiItem on a Column
AddmultiItem: true to any column that represents a one-to-many or many-to-many relationship. The column binding path must point to a collection navigation property in the domain model:
| Property | Type | Default | Description |
|---|---|---|---|
multiItem | boolean | False | Enables multi-value display and editing for collection columns |
multiItem is true, the cell displays all linked entities and provides a multi-reference picker for adding or removing items.
Identify When multiItem Is Required
UsemultiItem: true when the column binding path traverses a collection relationship — meaning the entity at the end of the path can have multiple linked items. Common scenarios include:
- Verification test cases linked to a requirement
- Validation test cases linked to a requirement
- External references linked to a design output
- Risk controls linked to a hazard
Configure the Sources Expansion
Thesources section must include an expansion path for the collection relationship. Without this, the column will have no data to display:
expand entry corresponds to a relationship in the domain model. The column binding path must match the expansion hierarchy.
Configure Picker Search
For multi-item columns, configure thelist.search property to define which fields users can search when selecting items:
Multi-Level Multi-Item Columns
Multi-item columns can appear at multiple levels of the hierarchy. For example, verification test cases can be linked both at the system requirement level and the design requirement level:Complete Example
Verify
After saving the sheet configuration, reload the powersheet document. You should now see multi-item columns displaying all linked entities per row. Clicking a cell opens the multi-reference picker, allowing you to search, add, and remove linked items.See also
- Add a Column
- Add External Reference Column
- Configure Sources
- Expand Navigation Properties
- Fix Multi-Item Column Errors
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/api/document.tsprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/sheet/commands/exportXlsx.tsxpowersheet.yamlprod-powersheet-src/com.nextedy.powersheet.client/src/modules/Powersheet/Powersheet.tsxprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/sheet/SheetComponent.tsx