UNPKG

706 BTypeScriptView Raw
1/**
2 * Returns the columns by pin.
3 */
4export declare function columnsByPin(cols: any[]): {
5 left: any;
6 center: any;
7 right: any;
8};
9/**
10 * Returns the widths of all group sets of a column
11 */
12export declare function columnGroupWidths(groups: any, all: any): {
13 left: number;
14 center: number;
15 right: number;
16 total: number;
17};
18/**
19 * Calculates the total width of all columns and their groups
20 */
21export declare function columnTotalWidth(columns: any[], prop?: string): number;
22/**
23 * Calculates the total width of all columns and their groups
24 */
25export declare function columnsTotalWidth(columns: any, prop?: any): number;
26export declare function columnsByPinArr(val: any): any[];