Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Events

addColumn

  • addColumn(col: Column, index: number): void

dirtyOrder

groupCriteriaChanged

  • groupCriteriaChanged(previous: Column[], current: Column[]): void

groupSortCriteriaChanged

groupsChanged

moveColumn

  • moveColumn(col: Column, index: number, oldIndex: number): void

orderChanged

removeColumn

  • removeColumn(col: Column, index: number): void

sortCriteriaChanged

Properties

id

id: string

Static EVENT_ADD_COLUMN

EVENT_ADD_COLUMN: "addColumn" = CompositeColumn.EVENT_ADD_COLUMN

Static EVENT_COLUMN_VISIBILITY_CHANGED

EVENT_COLUMN_VISIBILITY_CHANGED: "visibilityChanged" = Column.EVENT_VISIBILITY_CHANGED

Static EVENT_DIRTY

EVENT_DIRTY: "dirty" = Column.EVENT_DIRTY

Static EVENT_DIRTY_CACHES

EVENT_DIRTY_CACHES: "dirtyCaches" = Column.EVENT_DIRTY_CACHES

Static EVENT_DIRTY_HEADER

EVENT_DIRTY_HEADER: "dirtyHeader" = Column.EVENT_DIRTY_HEADER

Static EVENT_DIRTY_ORDER

EVENT_DIRTY_ORDER: "dirtyOrder" = "dirtyOrder"

Static EVENT_DIRTY_VALUES

EVENT_DIRTY_VALUES: "dirtyValues" = Column.EVENT_DIRTY_VALUES

Static EVENT_FILTER_CHANGED

EVENT_FILTER_CHANGED: "filterChanged" = "filterChanged"

Static EVENT_GROUPS_CHANGED

EVENT_GROUPS_CHANGED: "groupsChanged" = "groupsChanged"

Static EVENT_GROUP_CRITERIA_CHANGED

EVENT_GROUP_CRITERIA_CHANGED: "groupCriteriaChanged" = "groupCriteriaChanged"

Static EVENT_GROUP_SORT_CRITERIA_CHANGED

EVENT_GROUP_SORT_CRITERIA_CHANGED: "groupSortCriteriaChanged" = "groupSortCriteriaChanged"

Static EVENT_LABEL_CHANGED

EVENT_LABEL_CHANGED: "labelChanged" = Column.EVENT_LABEL_CHANGED

Static EVENT_MOVE_COLUMN

EVENT_MOVE_COLUMN: "moveColumn" = CompositeColumn.EVENT_MOVE_COLUMN

Static EVENT_ORDER_CHANGED

EVENT_ORDER_CHANGED: "orderChanged" = "orderChanged"

Static EVENT_REMOVE_COLUMN

EVENT_REMOVE_COLUMN: "removeColumn" = CompositeColumn.EVENT_REMOVE_COLUMN

Static EVENT_SORT_CRITERIA_CHANGED

EVENT_SORT_CRITERIA_CHANGED: "sortCriteriaChanged" = "sortCriteriaChanged"

Static EVENT_WIDTH_CHANGED

EVENT_WIDTH_CHANGED: "widthChanged" = Column.EVENT_WIDTH_CHANGED

Accessors

children

children:

flatColumns

flatColumns:

fqid

fqid:

fqpath

fqpath:

length

length:

Methods

assignNewId

  • assignNewId(idGenerator: function): void
  • Parameters

    • idGenerator: function
        • (): string
        • Returns string

    Returns void

at

clear

  • clear(): void

clearFilters

  • clearFilters(): boolean

dirtyOrder

dump

filter

find

  • find(idOrFilter: string | function): null | Column

findByPath

  • findByPath(fqpath: string): Column

findMyRanker

  • findMyRanker(): this

flatten

  • flatten(r: IFlatColumn[], offset: number, levelsToGo?: number, padding?: number): number
  • Parameters

    • r: IFlatColumn[]
    • offset: number
    • Default value levelsToGo: number = 0
    • Default value padding: number = 0

    Returns number

getGroupCriteria

  • getGroupCriteria(): Column[]

getGroupSortCriteria

getGroups

getLabel

  • getLabel(): string

getOrder

  • getOrder(): ReadonlyArray<number> & ArrayLike<number> | Uint8Array & ArrayLike<number> | Uint16Array & ArrayLike<number> | Uint32Array & ArrayLike<number>
  • Returns ReadonlyArray<number> & ArrayLike<number> | Uint8Array & ArrayLike<number> | Uint16Array & ArrayLike<number> | Uint32Array & ArrayLike<number>

getOrderLength

  • getOrderLength(): number

getPrimarySortCriteria

getRank

  • getRank(dataIndex: number): number

getSortCriteria

groupBy

  • groupBy(col: Column, priority?: number): boolean

groupSortBy

  • groupSortBy(col: Column, ascending?: boolean, priority?: number): boolean
  • Parameters

    • col: Column
    • Default value ascending: boolean = false
    • Default value priority: number = 0

    Returns boolean

indexOf

  • indexOf(col: Column): number

insert

insertAfter

isFiltered

  • isFiltered(): boolean

markDirty

  • markDirty(type?: "header" | "values" | "all"): void
  • Parameters

    • Default value type: "header" | "values" | "all" = "all"

    Returns void

move

moveAfter

on

push

remove

  • remove(col: Column): boolean

restore

setGroupCriteria

setGroupSortCriteria

setGroups

setLabel

  • setLabel(value: string): void

setSortCriteria

sortBy

  • sortBy(col: Column, ascending?: boolean, priority?: number): boolean
  • Parameters

    • col: Column
    • Default value ascending: boolean = false
    • Default value priority: number = 0

    Returns boolean

toggleGroupSorting

  • toggleGroupSorting(col: Column): boolean

toggleGrouping

  • toggleGrouping(col: Column): boolean

toggleSorting

  • toggleSorting(col: Column): boolean