Managing Columns in AdapTable

View as Markdown

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:

  1. AG Grid ColDefs — what AdapTable ignores, respects, or falls back on
  2. Cell Data Types and Column Types on those ColDefs
  3. The Adaptable Column object AdapTable builds from them
  4. Scope — how features pick columns
  5. Common outcomes — Headers, Hiding, and runtime ColDef updates
Managing Columns

Configuring AG Grid ColDefs


How AdapTable treats ColDef properties at design-time (ignore, respect, or fall back)

Managing Columns

Setting Cell / Column Data Types


Leverage cellDataType in ColDefs so AdapTable configures filters and menus correctly

Managing Columns

Providing Column Types


Provide Column Types (used for Scope, Special Columns, Hidden Columns, Pivot Totals and FDC3)

Managing Columns

Creating Array Columns


Columns whose cells contain multiple values, rendered as Sparklines or multiple Badges

Managing Columns

The Adaptable Column Object


The Column object AdapTable creates to map every column in the Grid

Managing Columns

Setting Column Scope


Setting Column Scope for AdapTable features (columns, data types, column types)

Managing Columns

Configuring Column Headers


How to set the Column header (or caption), including on a per-Layout basis

Managing Columns

Hiding Columns


Ensuring that some Columns (e.g. Uuids) stay always hidden from users in the AdapTable UI

Managing Columns

Managing AG Grid ColDefs


Safely add, update and replace AG Grid Column Definitions at run-time