ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
14 lines (13 loc) • 369 B
TypeScript
import type { GridApi } from '../api/gridApi';
type TypeOrNull<T> = T | null;
type ApiRef = {
/** api of the grid to align with. */
api?: TypeOrNull<GridApi>;
} | null;
/**
* Alias for the grid API or an object containing the grid API for linking Aligned Grids.
*/
export type AlignedGrid = TypeOrNull<GridApi> | ApiRef | {
current: ApiRef;
};
export {};