react-bs-datatable / components/TableHeader / TableHeaderProps
components/TableHeader.TableHeaderProps
This is an interface for TableHeader component props.
• Optional classes: TableHeaderClasses
Customize the classes of the TableHeader component.
• Optional controlledProps: Object
Props to make the component controlled.
| Name | Type | Description |
|---|---|---|
checkboxState? |
Record<string, CheckboxState> |
A record, which key is the column prop name and the value is of type CheckboxState. |
filteredDataLength? |
number |
The filtered data length. When not using filter control, then this should equal to the table body's length. |
onCheckboxChange? |
CheckboxOnChange |
The function fired when any checkbox in the table changes. |
onSortChange? |
SortOnChange |
The function fired when the table sort state changes. |
sortState? |
SortType |
The current sort state of the table. |