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 name | Type | Property description |
---|---|---|
columnId | Id | Unique Id in all columns array |
width? | number | Width of each grid column (in default set to 150px ) |
reorderable? | boolean | Allow column to change its position in grid, default: false (row reorder implementation is on the developer’s side) |
resizable? | boolean | Allow column to change is width in grid, default: false (row resize implementation is on the developer’s side) |