Layout

View as Markdown

One named view of the grid: a or a .

A table layout lists its columns in TableColumns. A pivot layout lists its pivot columns in PivotColumns (an empty array when it only shows aggregations). The other layout's fields are typed never and must be left unset. Layouts must contain at least one layout. CurrentLayout selects one by Name; when it is omitted the first layout is used.

TypeScript
export type Layout = TableLayout | PivotLayout;
References

TableLayout | PivotLayout