UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

13 lines (12 loc) 433 B
type ColState = { colId: string; hide?: boolean | null; }; /** * This method takes a column state and the list of visible columns * and returns a new column state that respects the order of the visible columns * while trying to keep the hidden columns in their original order. * */ export declare function sortColumnStateForVisibleColumns<T extends ColState>(columnState: T[], visibleColumns: string[]): T[]; export {};