Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.82 KB

File metadata and controls

48 lines (28 loc) · 1.82 KB

react-bs-datatable / components/TableHeader / TableHeaderProps

Interface: TableHeaderProps

components/TableHeader.TableHeaderProps

This is an interface for TableHeader component props.

Table of contents

Properties

Properties

classes

Optional classes: TableHeaderClasses

Customize the classes of the TableHeader component.

Defined in

components/TableHeader.tsx:41


controlledProps

Optional controlledProps: Object

Props to make the component controlled.

Type declaration

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.

Defined in

components/TableHeader.tsx:43