Columns

<T> represents the object's shape coming from the data source. <R> represents the column data type: string, number, Date, or boolean.

DikeColumnDataType

type DikeColumnDataType = 'Text' | 'Numeric' | 'Date' | 'Binary';

DisplayStatus

type DisplayStatus = 'closed' | 'open';

ColumnAlignment

type ColumnAlignment = 'left' | 'center' | 'right' | 'start' | 'end';

DikeContentPanel

type DikeContentPanel = 'leftPanel' | 'centerPanel' | 'rightPanel';

DikeGroupPanel

type DikeGroupPanel = 'groupPanel';

DikeGridPanel

type DikeGridPanel = DikeContentPanel | DikeGroupPanel;

GetterFn<T, R>

type GetterFn<T extends object, R extends string | number | Date | boolean> = (entry: T) => R;

SetterFn<T, R>

type SetterFn<T extends object, R extends string | number | Date | boolean> = (entry: T, value: R) => void

ColumnMovement

type ColumnMovement = 'swap-columns' | 'join-column-groups' | 'column-after' | 'column-before' | 'columns-to-panel';

CompareColumnFn

type CompareColumnFn = (column: DikeColumnDef) => boolean;

CompareNodeFn

type CompareNodeFn = (node: DikeNodeColumnDef) => boolean;

Last updated