Managing Columns in AdapTable
Summary
- This section covers column infrastructure that is not a feature in its own right
- Styled Columns, Calculated Columns, Format Columns and similar features have their own Handbook pages
Columns are at the core of AdapTable and AG Grid, and are primarily managed via Layouts.
The pages in this section follow that pipeline:
- AG Grid ColDefs — what AdapTable ignores, respects, or falls back on
- Cell Data Types and Column Types on those ColDefs
- The Adaptable Column object AdapTable builds from them
- Scope — how features pick columns
- Common outcomes — Headers, Hiding, and runtime ColDef updates
Configuring AG Grid ColDefs
How AdapTable treats ColDef properties at design-time (ignore, respect, or fall back)
Setting Cell / Column Data Types
Leverage cellDataType in ColDefs so AdapTable configures filters and menus correctly
Providing Column Types
Provide Column Types (used for Scope, Special Columns, Hidden Columns, Pivot Totals and FDC3)
Creating Array Columns
Columns whose cells contain multiple values, rendered as Sparklines or multiple Badges
The Adaptable Column Object
The Column object AdapTable creates to map every column in the Grid
Setting Column Scope
Setting Column Scope for AdapTable features (columns, data types, column types)
Configuring Column Headers
How to set the Column header (or caption), including on a per-Layout basis
Hiding Columns
Ensuring that some Columns (e.g. Uuids) stay always hidden from users in the AdapTable UI
Managing AG Grid ColDefs
Safely add, update and replace AG Grid Column Definitions at run-time