Interface ColumnInstance<D>

Type Parameters

  • D extends object = {}

Hierarchy

Properties

Aggregated?: Renderer<CellProps<D, any>>
Cell?: Renderer<CellProps<D, any>>
Filter?: Renderer<FilterProps<D>>
Footer?: ReactNode
Header?: Renderer<HeaderProps<D>>
aggregate?: Aggregator<D>
align?: "left" | "right" | "center"
canFilter: boolean
canGroupBy: boolean
canResize: boolean
canSort: boolean
clearSortBy: (() => void)

Type declaration

    • (): void
    • Returns void

columns?: ColumnInstance<D>[]
defaultCanFilter?: boolean
defaultCanGroupBy?: boolean
defaultCanSort?: boolean
depth: number
disableFilters?: boolean
disableGlobalFilter?: boolean
disableGroupBy?: boolean
disableResizing?: boolean
disableSortBy?: boolean
filter?: string | FilterType<D>
filterValue: any
filteredRows: Row<D>[]
getFooterProps: ((propGetter?: FooterPropGetter<D>) => TableFooterProps)

Type declaration

getGroupByToggleProps: ((props?: Partial<TableGroupByToggleProps>) => TableGroupByToggleProps)

Type declaration

    • (props?: Partial<TableGroupByToggleProps>): TableGroupByToggleProps
    • Parameters

      • Optional props: Partial<TableGroupByToggleProps>

      Returns TableGroupByToggleProps

getHeaderProps: ((propGetter?: HeaderPropGetter<D>) => TableHeaderProps)

Type declaration

getResizerProps: ((props?: Partial<TableResizerProps>) => TableResizerProps)

Type declaration

getSortByToggleProps: ((props?: Partial<TableSortByToggleProps>) => TableSortByToggleProps)

Type declaration

getToggleHiddenProps: ((userProps?: any) => any)

Type declaration

    • (userProps?: any): any
    • Parameters

      • Optional userProps: any

      Returns any

groupedIndex: number
id: IdType<D>
isGrouped: boolean
isResizing: boolean
isSorted: boolean
isSortedDesc: undefined | boolean
isVisible: boolean
maxWidth?: number
minWidth?: number
parent?: ColumnInstance<D>
placeholderOf?: ColumnInstance<{}>
preFilteredRows: Row<D>[]
render: ((type: string, props?: object) => ReactNode)

Type declaration

    • (type: string, props?: object): ReactNode
    • Parameters

      • type: string
      • Optional props: object

      Returns ReactNode

setFilter: ((updater: any) => void)

Type declaration

    • (updater: any): void
    • Parameters

      • updater: any

      Returns void

sortDescFirst?: boolean
sortInverted?: boolean
sortType?: string | SortByFn<D>
sortedIndex: number
sticky?: "left" | "right"
toggleGroupBy: (() => void)

Type declaration

    • (): void
    • Returns void

toggleHidden: ((value?: boolean) => void)

Type declaration

    • (value?: boolean): void
    • Parameters

      • Optional value: boolean

      Returns void

toggleSortBy: ((descending?: boolean, multi?: boolean) => void)

Type declaration

    • (descending?: boolean, multi?: boolean): void
    • Parameters

      • Optional descending: boolean
      • Optional multi: boolean

      Returns void

totalLeft: number
totalWidth: number
width?: string | number

Generated using TypeDoc