Hierarchy

  • StiColumnSize

Index

Constructors

constructor

Accessors

length

  • get length(): number
  • Returns number

Methods

add

  • add(indexCol: number, width: number): void
  • Parameters

    • indexCol: number
    • width: number

    Returns void

addLastNotFixed

  • addLastNotFixed(width: number): void
  • Parameters

    • width: number

    Returns void

fitColumnsIntoSlotByAdjustingAllColumns

  • fitColumnsIntoSlotByAdjustingAllColumns(slotWidth: number): void
  • Difference between {@link slotWidth} and sum of column widths is added to (or subtracted from) all columns (except fixed ones).

    Parameters

    • slotWidth: number

    Returns void

getCountNotFixedColumn

  • getCountNotFixedColumn(): number
  • Returns number

getCountNotFixedColumnAndNotMinSize

  • getCountNotFixedColumnAndNotMinSize(): number
  • Returns number

getCountNotFixedColumnAndWidth

  • getCountNotFixedColumnAndWidth(): number
  • Returns number

getFixed

  • getFixed(index: number): boolean
  • Parameters

    • index: number

    Returns boolean

getWidth

  • getWidth(indexCol: number): number
  • Parameters

    • indexCol: number

    Returns number

normalize

  • normalize(): void
  • Returns void

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

Generated using TypeDoc