@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
53 lines (52 loc) • 1.31 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
/**
* The state of the GridColumn
*/
export interface GridColumnState {
/**
* The id of the column.
*/
id: string;
/**
* The field of the column.
*/
field?: string;
/**
* The title of the column.
*/
title?: string;
/**
* The value indicating whether a column is visible or not.
*/
hidden?: boolean;
/**
* The width of the column (in pixels).
*/
width?: string | number;
/**
* The position of the column.
*/
orderIndex?: number;
/**
* A collection of child states.
*/
children?: GridColumnState[];
/**
* Determines if the column is locked to the left or right side of the grid.
*/
locked?: boolean;
/**
* Sets the minimum width of the column (in pixels).
*/
minWidth?: number;
/**
* Sets the maximum width of the column (in pixels).
*/
maxWidth?: number;
}