Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TableProps<M>

Type parameters

  • M: OverridableTypeMap

Hierarchy

  • {}
  • {}
  • {}
  • {} & {}
  • {}
  • { padding?: Padding; size?: Size; stickyHeader?: undefined | false | true } & CommonProps<TableTypeMap<{}, "table">> & {}
    • TableProps

Index

Properties

Optional HeaderCellProps

HeaderCellProps: HeaderCellProps

Additional props to pass to each of the Header cell components

Optional PaginationProps

PaginationProps: MUITablePaginationProps

Additional props to pass the the pagination component

Optional TableProps

TableProps: MUITableProps

Additional props to pass to the Material UI Table component

Optional ToolbarProps

ToolbarProps: ToolbarProps

Additional props to pass to the toolbar component

deprecated

A toolbar in a table is more than a table component should do. See Toolbar component.

Optional className

className: undefined | string

Optional classes

classes: Partial<ClassNameMap<M["classKey"]>>

Override or extend the styles applied to the component.

Optional disableToolbar

disableToolbar: undefined | false | true

Disables the table toolbar

default

false

deprecated

A toolbar in a table is more than a table component should do. See Toolbar component.

headermapping

headermapping: Map<string, string>

Map that defines how the headers are sorted, either by key or function when targeting nested properties

headers

headers: HeaderProps[]

Headers for the table

Optional innerRef

innerRef: React.Ref<any>

labels

labels: TableLabels

Labels used in the table

Optional padding

padding: Padding

rowcount

rowcount: number

The amount of rows for the table (generally the length of the data)

Optional showBottomPagination

showBottomPagination: undefined | false | true

Control whether the bottom bar pagination should be shown

default

false

Optional showTopPagination

showTopPagination: undefined | false | true

Control whether the top bar pagination should be shown

default

false

Optional size

size: Size

Optional stickyHeader

stickyHeader: undefined | false | true

Optional style

style: React.CSSProperties

tablebodycontent

tablebodycontent: ReactNode

Content for the table

Optional tablecss

Customization CSS classes for table components

tableqas

tableqas: TableQAs

Data-qa's used in the table

Generated using TypeDoc