@kanunilabs/datagrid-react / ColumnState
Interface: ColumnState
Properties
flex?
optionalflex?:number
Present only for a column defined with flex: its share while it flexes,
0 once the user gave it a fixed width. Restoring a state without the key
leaves the column as defined.
headerName?
optionalheaderName?:string
The name the user gave the column in the grid (G-CORE-06), present only once renamed. Restoring a state without the key brings back the name the definition gives — a layout saved before the rename did not have it.
id
id:
string
order
order:
number
Position within the full column order (0-based).
pinned
pinned:
ColumnPin
visible
visible:
boolean
width
width:
number