Files
ETB/ETB-FrontEnd/node_modules/@mui/x-data-grid/models/params/gridColumnOrderChangeParams.d.ts
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

27 lines
613 B
TypeScript

import type { GridStateColDef } from '../colDef/gridColDef';
/**
* Object passed as parameter of the column order change event.
*/
export interface GridColumnOrderChangeParams {
/**
* The HTMLElement column header element.
*/
element?: HTMLElement | null;
/**
* The column field of the column that triggered the event.
*/
field: string;
/**
* The column of the current header component.
*/
colDef: GridStateColDef;
/**
* The target column index.
*/
targetIndex: number;
/**
* The old column index.
*/
oldIndex: number;
}