Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineUp

Hierarchy

Implements

Index

Constructors

constructor

Properties

data

data: DataProvider

isBrowserSupported

isBrowserSupported: boolean

node

node: HTMLElement

Static EVENT_HIGHLIGHT_CHANGED

EVENT_HIGHLIGHT_CHANGED: "highlightChanged" = "highlightChanged"

Static EVENT_SELECTION_CHANGED

EVENT_SELECTION_CHANGED: "selectionChanged" = DataProvider.EVENT_SELECTION_CHANGED

Methods

destroy

  • destroy(): void

dump

  • dump(): any

getHighlight

  • getHighlight(): number

getSelection

  • getSelection(): number[]

on

setDataProvider

  • setDataProvider(data: DataProvider, dump?: any): void

setHighlight

  • setHighlight(dataIndex: number, scrollIntoView?: boolean): boolean

setSelection

  • setSelection(dataIndices: number[]): void

sortBy

  • sortBy(column: string | function, ascending?: boolean): boolean
  • sorts LineUp by he given column

    Parameters

    • column: string | function

      callback function finding the column to sort

    • Default value ascending: boolean = false

    Returns boolean

update

  • update(): void