27 lines
613 B
TypeScript
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;
|
|
}
|