Table Properties

Hierarchy

  • IBaseProps<ITable>
    • ITableProps

Properties

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

className?: string

Custom class names.

columns?: ITableColumn[]
el?: HTMLElement

The element to render the component to.

onClickCell?: ((el, column?, data?, rowIdx?) => void)

Type declaration

    • (el, column?, data?, rowIdx?): void
    • Parameters

      • el: HTMLTableDataCellElement
      • Optional column: ITableColumn
      • Optional data: any
      • Optional rowIdx: number

      Returns void

onClickHeader?: ((el, column?) => void)

Type declaration

    • (el, column?): void
    • Parameters

      • el: HTMLTableHeaderCellElement
      • Optional column: ITableColumn

      Returns void

onRenderCell?: ((el?, column?, data?, rowIdx?) => void)

Type declaration

    • (el?, column?, data?, rowIdx?): void
    • Parameters

      • Optional el: HTMLTableDataCellElement
      • Optional column: ITableColumn
      • Optional data: any
      • Optional rowIdx: number

      Returns void

onRenderHeaderCell?: ((el?, column?) => void)

Type declaration

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

      • Optional el: HTMLTableDataCellElement
      • Optional column: ITableColumn

      Returns void

onRenderHeaderRow?: ((el?) => void)

Type declaration

    • (el?): void
    • Parameters

      • Optional el: HTMLTableRowElement

      Returns void

onRenderRow?: ((el?, data?, rowIdx?) => void)

Type declaration

    • (el?, data?, rowIdx?): void
    • Parameters

      • Optional el: HTMLTableRowElement
      • Optional data: any
      • Optional rowIdx: number

      Returns void

rows?: any[]

Generated using TypeDoc