Methods
add
- add(indexCol: number, width: number): void
-
Parameters
-
indexCol: number
-
width: number
Returns void
addLastNotFixed
- addLastNotFixed(width: number): void
fitColumnsIntoSlotByAdjustingAllColumns
- fitColumnsIntoSlotByAdjustingAllColumns(slotWidth: number): void
getCountNotFixedColumn
- getCountNotFixedColumn(): number
getCountNotFixedColumnAndNotMinSize
- getCountNotFixedColumnAndNotMinSize(): number
getCountNotFixedColumnAndWidth
- getCountNotFixedColumnAndWidth(): number
getFixed
- getFixed(index: number): boolean
-
Parameters
Returns boolean
getWidth
- getWidth(indexCol: number): number
-
Parameters
Returns number
setFixedColumn
- setFixedColumn(indexCol: number, width: number): void
-
Parameters
-
indexCol: number
-
width: number
Returns void
setMinWidths
- setMinWidths(indexCol: number, minWidth: number): void
-
Parameters
-
indexCol: number
-
minWidth: number
Returns void
setWidth
- setWidth(indexCol: number, width: number): void
-
Parameters
-
indexCol: number
-
width: number
Returns void
subtract
- subtract(indexCol: number, width: number, checkMin?: boolean): void
-
Parameters
-
indexCol: number
-
width: number
-
Default value checkMin: boolean = true
Returns void
Difference between {@link slotWidth} and sum of column widths is added to (or subtracted from) all columns (except fixed ones).