Interface IDataTable

Data Table

interface IDataTable {
    addRow: ((row) => void);
    datatable: any;
    filter: ((idx, value?) => void);
    filterExact: ((idx, value?) => void);
    filterMulti: ((idx, values?) => void);
    filterMultiExact: ((idx, values?) => void);
    onRendered?: ((el?, dt?) => void);
    onRendering?: ((dtProps) => any);
    refresh: ((rows) => void);
    removeRow: ((rowIdx) => void);
    search: ((value?) => void);
    updateCell: ((row, column, value) => void);
    updateRow: ((rowIdx, data) => void);
}

Implemented by

Properties

addRow: ((row) => void)

Type declaration

    • (row): void
    • Parameters

      • row: any

      Returns void

datatable: any
filter: ((idx, value?) => void)

Type declaration

    • (idx, value?): void
    • Parameters

      • idx: number
      • Optional value: string

      Returns void

filterExact: ((idx, value?) => void)

Type declaration

    • (idx, value?): void
    • Parameters

      • idx: number
      • Optional value: string

      Returns void

filterMulti: ((idx, values?) => void)

Type declaration

    • (idx, values?): void
    • Parameters

      • idx: number
      • Optional values: string[]

      Returns void

filterMultiExact: ((idx, values?) => void)

Type declaration

    • (idx, values?): void
    • Parameters

      • idx: number
      • Optional values: string[]

      Returns void

onRendered?: ((el?, dt?) => void)

Type declaration

    • (el?, dt?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional dt: any

      Returns void

onRendering?: ((dtProps) => any)

Type declaration

    • (dtProps): any
    • Parameters

      • dtProps: any

      Returns any

refresh: ((rows) => void)

Type declaration

    • (rows): void
    • Parameters

      • rows: any[]

      Returns void

removeRow: ((rowIdx) => void)

Type declaration

    • (rowIdx): void
    • Parameters

      • rowIdx: number

      Returns void

search: ((value?) => void)

Type declaration

    • (value?): void
    • Parameters

      • Optional value: string

      Returns void

updateCell: ((row, column, value) => void)

Type declaration

    • (row, column, value): void
    • Parameters

      • row: number
      • column: number
      • value: any

      Returns void

updateRow: ((rowIdx, data) => void)

Type declaration

    • (rowIdx, data): void
    • Parameters

      • rowIdx: number
      • data: any

      Returns void