Configuration Property
Each view object in the array defines which columns are visible when that view is selected.
View Object Properties
Special columnIds Values
The columnIds array supports two special tokens in addition to literal column IDs:
Location in Configuration
Theviews property is a top-level array within the sheet configuration:
Behavior
View Switching
When a user selects a saved view from the view selector in the Risksheet toolbar, the grid immediately updates to show only the columns listed in that view’scolumnIds array. All other columns are hidden. The data itself is unchanged — only column visibility is affected.
Default State
When the sheet first loads, the view marked withdefaultView: true is applied. If no view has defaultView: true, all columns defined in the top-level columns array are visible. Selecting a view narrows visibility to the specified subset.
Column ID Matching
ThecolumnIds array in a view must contain valid column id values that match columns defined in the top-level columns configuration. If a view references a column ID that does not exist, that entry is silently ignored.
Staged Risk Assessment with Views
A complete risk assessment workflow typically moves through these stages, each supported by a dedicated view that exposes the relevant column subset:
By exposing only the columns relevant to each stage, views act as workflow guides — analysts working on classification do not see mitigation columns, reviewers do not see the detailed failure analysis grid, and so on. Combined with role-based default views, this turns a single Risksheet document into a stage-aware analysis tool.
Persistence Behavior
The “Select visible columns” feature provides a separate mechanism for users to hide or show individual columns. This selection persists on the user’s computer through browser local storage. However, switching to a saved view overrides the user’s column visibility selections. The two mechanisms operate independently but saved views take precedence when activated.
Complete Example
An FMEA configuration with views aligned to the staged assessment workflow:View Descriptions
Full Analysis — Uses the@all shorthand to include every column defined in the top-level columns section. Marked as defaultView: true, so this is what loads when the document opens.
1 - Risk Identification — Focused on initial risk analysis. Shows the failure mode structure (function, mode, effect, cause). Hides ratings, mitigation, and review columns so analysts can concentrate on capturing the failure scenarios.
2 - Risk Classification — Focused on rating the risk. Shows the failure mode identity alongside severity, occurrence, detection, and the calculated RPN. Hides mitigation and review columns so the team can debate ratings without distraction.
3 - Mitigation Tracking — Focused on action item management. Shows the risk identity (ID, title, failure mode) alongside the initial RPN, mitigation assignments, responsible persons, and due dates. Hides the detailed failure analysis columns.
4 - Residual Risk — Focused on re-rating the risk after mitigation. Shows original and revised severity/occurrence/detection and the revised RPN. Hides mitigation detail (since the assignment is done) and review columns.
5 - Final Review — Focused on review progress. Shows risk identity with both initial and revised RPN values, work item status, review status, and the responsible person. Hides detailed failure analysis and mitigation assignment columns.
All Except Mitigation Detail — Demonstrates the exclusion prefix. Starts with @all (every column) and then removes mitigation, responsible, and dueDate so reviewers see everything except action item tracking.
Column Visibility Interaction
Saved views interact with several other column visibility mechanisms in Risksheet:
When a saved view is activated, it overrides all other column visibility settings. When no saved view is selected, the base
visible property on each column and the user’s “Select visible columns” preferences determine what is shown.
Use Cases
Role-Based Views
Configure views that match the information needs of different team members working on the same risk document. Combine withdefaultView: true (optionally selected dynamically by role in the top panel) so each role lands on the right view automatically:
Analysis Phase Views
Configure views for sequential phases of risk analysis work:HARA-Specific Views
For HARA (Hazard Analysis and Risk Assessment) configurations following ISO 26262:Limitations
- No personal views: Users cannot create their own saved views through the UI. All views must be defined by an administrator in the sheet configuration.
- No filter persistence: Saved views control only column visibility. They do not save row filter states, sort orders, or scroll positions.
- View selection resets on reload: The currently selected view is not remembered between page loads. Use
defaultView: trueto ensure a specific view loads on every open. - Exclusive column sets: When a view is active, only the columns listed in that view (after
@all/exclusion processing) are visible. There is no mechanism to additively show extra columns on top of a view at runtime.
Related Configuration
- Sheet Configuration Format — Column definitions referenced by view
columnIds - Configuration Properties Index — Global settings that affect the view selector display
- Column Type Reference — Column type definitions
- Create Saved Views — Step-by-step guide for configuring views
- Control Column Visibility — Alternative visibility mechanisms