Column interface

This interface represents column in grid. Column interface contains only one necessary property: columnId.

Definition

interface Column {
    readonly columnId: Id;
    readonly width?: number;
    readonly reorderable?: boolean;
    readonly resizable?: boolean;
}

Properties

Property nameTypeProperty description
columnId Id Unique Id in all columns array
width?numberWidth of each grid column (in default set to 150px)
reorderable?booleanAllow column to change its position in grid, default: false (row reorder implementation is on the developer’s side)
resizable?booleanAllow column to change is width in grid, default: false (row resize implementation is on the developer’s side)