Properties
allColumnsHidden
allColumnsHidden: boolean
canNextPage
canNextPage: boolean
canPreviousPage
canPreviousPage: boolean
dispatch
dispatch: TableDispatch<any>
expandedDepth
expandedDepth: number
filteredFlatRows
filtered
Flat
Rows
: Row<D>[]
filteredRowsById
filtered
Rows
By
Id
: Record<string, Row<D>>
getHooks
get
Hooks
: (() => Hooks<D>)
getTableBodyProps
getTableBodyProps: ((propGetter?: TableBodyPropGetter<D>) => TableBodyProps)
Type declaration
-
- (propGetter?: TableBodyPropGetter<D>): TableBodyProps
-
Parameters
-
Optional
propGetter: TableBodyPropGetter<D>
Returns TableBodyProps
getToggleAllPageRowsSelectedProps
getToggleAllRowsSelectedProps
getToggleHideAllColumnsProps
globalFilteredFlatRows
global
Filtered
Flat
Rows
: Row<D>[]
globalFilteredRows
global
Filtered
Rows
: Row<D>[]
globalFilteredRowsById
global
Filtered
Rows
By
Id
: Record<string, Row<D>>
gotoPage
gotoPage: ((updater: number | ((pageIndex: number) => number)) => void)
Type declaration
-
- (updater: number | ((pageIndex: number) => number)): void
-
Parameters
-
updater: number | ((pageIndex: number) => number)
Returns void
groupedFlatRows
grouped
Flat
Rows
: Row<D>[]
groupedRowsById
grouped
Rows
By
Id
: Record<string, Row<D>>
isAllRowsExpanded
isAllRowsExpanded: boolean
isAllRowsSelected
isAllRowsSelected: boolean
nextPage
nextPage: (() => void)
nonGroupedFlatRows
non
Grouped
Flat
Rows
: Row<D>[]
nonGroupedRowsById
non
Grouped
Rows
By
Id
: Record<string, Row<D>>
onlyGroupedFlatRows
only
Grouped
Flat
Rows
: Row<D>[]
onlyGroupedRowsById
only
Grouped
Rows
By
Id
: Record<string, Row<D>>
pageCount
pageCount: number
pageOptions
pageOptions: number[]
preExpandedRows
pre
Expanded
Rows
: Row<D>[]
preFilteredFlatRows
pre
Filtered
Flat
Rows
: Row<D>[]
preFilteredRows
pre
Filtered
Rows
: Row<D>[]
preFilteredRowsById
pre
Filtered
Rows
By
Id
: Record<string, Row<D>>
preGlobalFilteredFlatRows
pre
Global
Filtered
Flat
Rows
: Row<D>[]
preGlobalFilteredRows
pre
Global
Filtered
Rows
: Row<D>[]
preGlobalFilteredRowsById
pre
Global
Filtered
Rows
By
Id
: Record<string, Row<D>>
preGroupedFlatRows
pre
Grouped
Flat
Rows
: Row<D>[]
preGroupedRowsById
pre
Grouped
Rows
By
Id
: Record<string, Row<D>>
prepareRow
prepare
Row
: ((row
: Row<D>) => void)
Type declaration
-
- (row: Row<D>): void
-
Returns void
previousPage
previousPage: (() => void)
resetFiltersVisible
resetFiltersVisible: (() => void)
resetModal
resetModal: (() => void)
rowsById
rows
By
Id
: Record<string, Row<D>>
selectedFlatRows
selected
Flat
Rows
: Row<D>[]
setCellState
set
Cell
State
: ((rowPath
: string[], columnId
: IdType<D>, updater
: unknown) => void)
Type declaration
-
- (rowPath: string[], columnId: IdType<D>, updater: unknown): void
-
Parameters
-
rowPath: string[]
-
columnId: IdType<D>
-
updater: unknown
Returns void
setColumnOrder
set
Column
Order
: ((updater
: IdType<D>[] | ((columnOrder
: IdType<D>[]) => IdType<D>[])) => void)
setFilter
set
Filter
: ((columnId
: IdType<D>, updater
: any) => void)
Type declaration
-
- (columnId: IdType<D>, updater: any): void
-
Parameters
-
columnId: IdType<D>
-
updater: any
Returns void
setFiltersVisible
setFiltersVisible: ((filtersVisible: boolean) => void)
Type declaration
-
- (filtersVisible: boolean): void
-
Returns void
setGlobalFilter
setGlobalFilter: ((filterValue: any) => void)
Type declaration
-
- (filterValue: any): void
-
Returns void
setHiddenColumns
set
Hidden
Columns
: ((param
: IdType<D>[] | UpdateHiddenColumns<D>) => void)
Type declaration
-
- (param: IdType<D>[] | UpdateHiddenColumns<D>): void
-
Parameters
-
param: IdType<D>[] | UpdateHiddenColumns<D>
Returns void
setModal
setModal: ((modalProps: ModalProps) => void)
Type declaration
-
- (modalProps: ModalProps): void
-
Returns void
setPageSize
setPageSize: ((pageSize: number) => void)
Type declaration
-
- (pageSize: number): void
-
Returns void
setRowState
setRowState: ((rowPath: string[], updater: unknown) => void)
Type declaration
-
- (rowPath: string[], updater: unknown): void
-
Parameters
-
rowPath: string[]
-
updater: unknown
Returns void
toggleAllRowsExpanded
toggleAllRowsExpanded: ((value?: boolean) => void)
Type declaration
-
- (value?: boolean): void
-
Returns void
toggleAllRowsSelected
toggleAllRowsSelected: ((value?: boolean) => void)
Type declaration
-
- (value?: boolean): void
-
Returns void
toggleFiltersVisible
toggleFiltersVisible: (() => void)
toggleGroupBy
toggle
Group
By
: ((columnId
: IdType<D>, value
?: boolean) => void)
Type declaration
-
- (columnId: IdType<D>, value?: boolean): void
-
Parameters
-
columnId: IdType<D>
-
Optional
value: boolean
Returns void
toggleHideAllColumns
toggleHideAllColumns: ((value?: boolean) => void)
Type declaration
-
- (value?: boolean): void
-
Returns void
toggleHideColumn
toggle
Hide
Column
: ((columnId
: IdType<D>, value
?: boolean) => void)
Type declaration
-
- (columnId: IdType<D>, value?: boolean): void
-
Parameters
-
columnId: IdType<D>
-
Optional
value: boolean
Returns void
toggleRowExpanded
toggle
Row
Expanded
: ((id
: IdType<D>[], value
?: boolean) => void)
Type declaration
-
- (id: IdType<D>[], value?: boolean): void
-
Returns void
toggleRowSelected
toggle
Row
Selected
: ((rowId
: IdType<D>, set
?: boolean) => void)
Type declaration
-
- (rowId: IdType<D>, set?: boolean): void
-
Returns void
toggleSortBy
toggle
Sort
By
: ((columnId
: IdType<D>, descending
?: boolean, isMulti
?: boolean) => void)
Type declaration
-
- (columnId: IdType<D>, descending?: boolean, isMulti?: boolean): void
-
Parameters
-
columnId: IdType<D>
-
Optional
descending: boolean
-
Optional
isMulti: boolean
Returns void
totalColumnsWidth
totalColumnsWidth: number