Column Organization Layers
Column Groups
Column groups visually organize related columns under a shared header with color-coded styling and optional collapse behavior. See Column Groups for full configuration reference.Column Group Properties
| Property | Type | Default | Description |
|---|---|---|---|
groupName | string | (required) | Display name for the column group header |
groupStyle | string | See application | Color theme for the column group background |
headerStyle | string | See application | Color theme for the column group header text |
collapseTo | string | See application | Dot-notation binding path to the column shown when the group is collapsed |
Column Group Example
columnGroup property:
Column Visibility
Each column has avisible property controlling its default display state:
| Property | Type | Default | Description |
|---|---|---|---|
visible | boolean | true | Controls whether the column is shown by default |
Views Override Visibility
Views override column visibility settings. When a view is applied, its column definitions take precedence over the defaultvisible property.
Column Configuration Properties
Each column in thecolumns section supports these display-related properties:
| Property | Type | Default | Description |
|---|---|---|---|
title | string | Binding path | Display label for the column header |
width | number or string | "*" | Width in pixels or proportional (e.g., "*", "2*") |
minWidth | number | 150 | Minimum column width in pixels |
visible | boolean | true | Whether the column is shown by default |
hasFocus | boolean | false | Whether this column receives initial focus |
columnGroup | string | See application | Assigns the column to a visual group |
formatter | string | See application | References a formatter for conditional styling |
header | object | See application | Column header appearance settings |
groupBy | boolean | false | Enables row grouping by this column’s values |
sort | string | See application | Default sort direction for this column |
multiItem | boolean | false | Displays multiple related items (one-to-many) |
display | string | See application | Property of a referenced object to display |
isReadOnly | boolean | false | Prevents user editing (deprecated; use formatter: readOnly) |
Column Freezing
Columns can be frozen (pinned) to remain visible during horizontal scrolling:| Action | Shortcut | Description |
|---|---|---|
| Freeze columns | Ctrl+F | Freezes columns at the default position |
| Freeze to column | Ctrl+Alt+F | Freezes all columns up to and including the selected column |
| Unfreeze all | Ctrl+Shift+F | Removes all column freezing |
frozen property in the column configuration sets the default frozen state.
Column Width Types
| Type | Syntax | Example | Behavior |
|---|---|---|---|
| Fixed | number | width: 120 | Fixed width in pixels |
| Proportional | "*" | width: "*" | Shares remaining space equally with other * columns |
| Weighted proportional | "N*" | width: "2*" | Takes N times the proportional share |
Complete YAML Example
Related Pages
- Column Groups — column group YAML configuration
- Columns — full column property reference
- Column Properties — detailed column property specifications
- Views — views YAML configuration
- Views Selector — runtime view switching
- Header Styles — header styling configuration
- Styles — style definitions for groups and headers
Source: Column Configuration Guide KB article, Views Configuration Guide KB article, sheet configuration YAML, ViewModel features
Sources
Sources
KB ArticlesSource Code
prod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/sheet/RowItemFactory.tsprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/sheet/ViewModel.tsprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/api/document.tsprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/__tests__/test-viewModel.tspowersheet.yaml