Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
31 lines
805 B
TypeScript
31 lines
805 B
TypeScript
import { GridColumnGroup } from '../gridColumnGrouping';
|
|
/**
|
|
* Object passed as parameter in the column group header renderer.
|
|
*/
|
|
export interface GridColumnGroupHeaderParams extends Pick<GridColumnGroup, 'headerName' | 'description'> {
|
|
/**
|
|
* A unique string identifying the group.
|
|
*/
|
|
groupId: GridColumnGroup['groupId'] | null;
|
|
/**
|
|
* The number parent the group have.
|
|
*/
|
|
depth: number;
|
|
/**
|
|
* The maximal depth among visible columns.
|
|
*/
|
|
maxDepth: number;
|
|
/**
|
|
* The column fields included in the group (including nested ones).
|
|
*/
|
|
fields: string[];
|
|
/**
|
|
* The column index (0 based).
|
|
*/
|
|
colIndex: number;
|
|
/**
|
|
* Indicate if the group is the last one for the given depth.
|
|
*/
|
|
isLastColumn: boolean;
|
|
}
|