Skip to main content

Widget Parameter Overview

diagram

Data Type Parameters

The dataTypes object configures the work item types used in the Risksheet grid. Each entry defines the Polarion work item type, link role, and behavior settings for a category of items.

dataTypes Property

Risk Item Data Type

Task/Mitigation Data Type

Set showInMenu: false on dataTypes.task or dataTypes.risk to remove the creation button from the toolbar and context menu. For item link columns, use canCreate: false to allow linking existing items only without creating new ones. The canCreate switch operates at two independent levels: globally via dataTypes.task.canCreate and per-column via the column-level canCreate property.

Task Column Identification

The task identifier column is the column whose type is taskLink (or, since v25.3.1, multiTaskLink). The grid uses this column to determine task presence, generate new task IDs, and group task rows under their parent risk items. It is central to task management features including context menu actions and multi-task insertion.
There is no top-level taskColumn key in risksheet.json. Adding taskColumn at the root of the sheet configuration has no effect — the engine silently ignores the unrecognized key. Identify the task column by giving it a taskLink column type instead, and connect the task work item type and link role through dataTypes.task.
When you create a new task, Risksheet automatically generates a unique task identifier. The ID is stored in both the task-link column’s binding and the companion _link field, which holds the reference to the linked Polarion work item.

Multi-Task Behavior

When adding tasks to risk items that already have tasks, Risksheet:
  1. Clones the current record as a template for the new task
  2. Clears task-level fields (task ID, link fields, readonly flags, and all columns marked as task attributes)
  3. Initializes multi-enum columns to empty arrays (not null)
  4. Generates a new unique task ID
  5. Inserts the new row immediately after all sibling tasks with the same systemItemId

Sorting Parameters

sortBy Property

Sort Order Examples

Ascending sort by severity:
Descending sort by due date, then ascending by priority:
Sort by outline number to match LiveDoc order:
To sort Risksheet items by document outline number (matching the LiveDoc order), create a serverRender column that uses Velocity to extract and zero-pad outline number segments, then set that column’s ID as the sortBy parameter. Zero-padding ensures that 1.10 sorts after 1.2.

Sort Behavior by Column Type

Risksheet applies specialized sorting logic automatically based on the column type:
All sorting, filtering, and pagination are performed client-side in the browser for immediate visual feedback without server round-trips. Data is loaded once from the server and manipulated entirely in the client.

Baseline Comparison Sorting

When comparing to a baseline, the sort system switches context to compare-to-link item values for all columns except systemItemId and systemItemRevision. This means sorting during baseline comparison operates on the baseline snapshot values rather than current values, except for system identity fields which always refer to the current item.

Read-Only Parameters

Grid-Level Read-Only

Auto-Applied Read-Only Rules

The system automatically sets read-only state for certain columns and conditions, independent of the readonly configuration:

Column Parameters

Column Definition Properties

Key column properties relevant to widget behavior: Text wrapping inside a cell is not a column-level boolean — control it via CSS classes referenced from cellCss and the styles section. When a column uses an itemLink, multiItemLink, or taskLink type, the typeProperties object configures how the autocomplete picker resolves and creates linked items.

View Parameters

See Saved Views for detailed view configuration reference.

Review Parameters

Review Manager Options

Risksheet approval review creates approval-tagged comments but does not trigger Polarion’s formal approval state transitions (draft -> reviewed -> approved). It is a comment-based approval signal, not a workflow state change.
The review system adds two special column bindings to the grid:

Header Parameters

Global Parameters

Session and Runtime Parameters

The following values are session and runtime context, set by the server when the grid loads. They are not user-configurable in the sheet configuration.

Polarion Administration Parameters

These project-level properties in Polarion Administration affect Risksheet work item behavior. Configure them in the Polarion project settings, not in the sheet configuration.

Deferred Commit Mode

Risksheet uses deferred commit mode for data persistence. Changes are batched in memory and sent to the server together when you click Save, rather than saving each edit immediately. All data is stored in Polarion work items — Risksheet does not maintain a separate data store. Edits flow through Polarion’s standard authorization and audit infrastructure.

Complete Example

Last modified on July 10, 2026