@mui/x-data-grid
Version:
The community edition of the data grid component (MUI X).
19 lines (18 loc) • 463 B
TypeScript
import type { GridStateColDef } from '../colDef/gridColDef';
/**
* Object passed as parameter of the column visibility change event.
*/
export interface GridColumnVisibilityChangeParams {
/**
* The field of the column which visibility changed.
*/
field: string;
/**
* The column of the current header component.
*/
colDef: GridStateColDef;
/**
* The visibility state of the column.
*/
isVisible: boolean;
}