Column Type Values
Column Properties
Type Conversion
Risksheet automatically converts between different date representations when reading from and writing to Polarion. The conversion system handles multiple source types transparently:You can display any Polarion field as a date column by setting
type: date in the column configuration, regardless of the underlying Polarion field type. For example, a string field can be shown as a date column if its values contain parseable date strings.Display Formatting
Default Behavior
Date columns withtype: date parse YYYY-MM-DD format strings to local time Date objects before applying any configured format. The parsing uses local time rather than UTC to avoid off-by-one date shifts from timezone conversion.
Format Strings
Theformat property accepts format strings compatible with the localization library. Common patterns:
Culture-Dependent Formatting
Theglobal.culture property in the sheet configuration affects how dates (and numbers) are formatted and parsed. For example, setting culture: de under global changes the default date display to German locale conventions.
System Date Fields
Certain Polarion system fields are date-typed and always read-only:
These fields have
readOnly automatically set to true by Risksheet and cannot be made editable.
Upstream Date Columns
To display and edit a date attribute from an upstream linked work item (e.g., a requirement’s due date shown on the risk item row):- Set
bindingsto the linked item’s date field using dot notation (e.g.,req.dueDate) - Set
readOnly: false(case-sensitive, uppercase O) to enable editing - Optionally configure a
formatstring for display
Date Entry Behavior
When editing a date cell, Risksheet provides a calendar date picker. Users can also type dates directly into the cell. The accepted input format depends on the column configuration:Comparison Mode
Date columns participate in baseline comparison mode. When comparing two document revisions:- Changed date values are highlighted with comparison styling
- Tooltips show the old value and new value
- Added rows display date values with “new row” indicators
- Removed rows display date values with “removed row” indicators
Read-Only Field Protection
The following system fields are always read-only and cannot be edited through Risksheet, even ifreadOnly: false is set:
id— Work item IDstatus— Work item statustype— Work item typeproject— Project identifieroutlineNumber— Document outline numbercreated— Creation timestampupdated— Last modification timestampauthor— Work item authorresolution— Work item resolution
Text Wrapping in Date Cells
Date columns render as single-line values by default. Text wrapping is not controlled by a column-level property. To wrap longer cell content, define the wrapping rules in the sheet configurationstyles section and reference them from the column via cellCss.
Complete Example
An FMEA configuration with target date tracking, completion dates on downstream tasks, and system timestamps:- Editable
targetDateandcompletionDatecolumns for risk item scheduling - Editable
reviewDatefor tracking review milestones - Read-only
lastModifiedandcreatedOncolumns displaying system timestamps - Editable upstream
reqDueDateshowing the linked requirement’s due date
Related Pages
- Column Type Reference — overview of all column types
- Data Types — complete data type reference
- Culture and Localization Codes — locale settings affecting date formats
- Configure Date Fields — step-by-step how-to guide
- Configuration Properties Index — global configuration reference
- Supported Field Types — Polarion field type mappings