Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates Table class.

param config

table options.

Hierarchy

  • Base
    • Table

Implements

Index

Constructors

Properties

_dataProvider: IDataProvider = undefined
_detachHandler: (() => void) = undefined

Type declaration

    • (): void
    • Returns void

allowRowSelection: boolean
columns: ITableColumn[]
config: ITableConfig
curCol: any = undefined
curColWidth: any = undefined
editMode: "inplace" | "row" | "aside" = "inplace"
element: HTMLElement
icons: Icons = Icons
innerActions: IAction[] = []
isMergedCells: boolean
isNumber: boolean
lastOffset: number = 0
lastOffsetBack: number = 0
lastSelectRow: any = null
layoutElemets: ILayoutElement[] = []
loadBatchSize: number = 10
loadMore: boolean
loadMoreBack: boolean
loadingMutex: boolean
nxtCol: any = undefined
nxtColWidth: any = undefined
pageX: any = undefined
plugins: ITablePlugin[] = []
rows: ITableRow[]
showSearch: boolean
showTableSummary: boolean
startRow: number
tableHeadHeight: number
totalCount: number
rowHeight: number = 20

Accessors

  • get bottomActions(): any[]
  • get columnHeaderActions(): any[]
  • set data(_data: any[]): void
  • get dropdownActions(): any[]
  • get keyColumn(): string
  • get noDataText(): any
  • get rowActions(): any[]
  • get topActions(): any[]

Methods

  • attach(element: HTMLElement): void
  • createRow(data: {}, num?: number, back?: boolean): ITableRow
  • Parameters

    • data: {}
      • [key: string]: string | number
    • Optional num: number
    • back: boolean = false

    Returns ITableRow

  • detach(): void
  • dispose(): void
  • getActions(container?: string): any[]
  • getPropertyValue(propertyName: string, defaultValue?: any): any
  • Parameters

    • propertyName: string
    • Optional defaultValue: any

    Returns any

  • getPropertyValueCore(propertyName: string, defaultValue?: any): any
  • Parameters

    • propertyName: string
    • Optional defaultValue: any

    Returns any

  • getStyleVal(elm: any, css: any): string
  • loadRowsBatch(limit: number, offset: number, back?: boolean): void
  • Parameters

    • limit: number
    • offset: number
    • back: boolean = false

    Returns void

  • logMouseDown(d: any, e: any): void
  • logMouseMove(d: any, e: any): void
  • logMouseOut(d: any, e: any): void
  • logMouseOver(d: any, e: any): void
  • logMouseUp(d: any, e: any): boolean
  • navigateTo(startRow: number): void
  • onPropertyValueChanged(propertyName: string, oldValue: any, newValue: any): void
  • Parameters

    • propertyName: string
    • oldValue: any
    • newValue: any

    Returns void

  • paddingDiff(col: any): number
  • refresh(): void
  • registerPropertyValueListner(propertyName: string, listner: ((oldValue: any, newValue: any) => void), key?: string): void
  • Parameters

    • propertyName: string
    • listner: ((oldValue: any, newValue: any) => void)
        • (oldValue: any, newValue: any): void
        • Parameters

          • oldValue: any
          • newValue: any

          Returns void

    • key: string = null

    Returns void

  • selectionChanged(): void
  • setPropertyValue(propertyName: string, newValue: any, defaultValue?: any): void
  • Parameters

    • propertyName: string
    • newValue: any
    • Optional defaultValue: any

    Returns void

  • setPropertyValueCore(propertyName: string, newValue: any): void
  • Parameters

    • propertyName: string
    • newValue: any

    Returns void

  • unRegisterPropertyValueListner(propertyName: string, key?: string): void
  • Parameters

    • propertyName: string
    • key: string = null

    Returns void

  • createPropertiesStorage(): HashTableStorage
  • Returns HashTableStorage

  • finishCollectDependencies(): Dependencies
  • Returns Dependencies

  • startCollectDependencies(updater: (() => void), target: Base, property: string): void
  • Parameters

    • updater: (() => void)
        • (): void
        • Returns void

    • target: Base
    • property: string

    Returns void

Do you still have questions?

NameE-mailMessage
Your message has been sent successfully!We will contact you soon