column.d.ts 706 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Returns the columns by pin.
  3. */
  4. export 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. */
  12. export 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. */
  21. export declare function columnTotalWidth(columns: any[], prop?: string): number;
  22. /**
  23. * Calculates the total width of all columns and their groups
  24. */
  25. export declare function columnsTotalWidth(columns: any, prop?: any): number;
  26. export declare function columnsByPinArr(val: any): any[];