TableControlBar
The TableControlBar
component is meant to be rendered within a DataTableContext
(provided by DataTable
here). The context provides necessary information
to the control bar, such as the filters and filter state, the selection state of the table, as well as any bulk actions.
It always shows the SmartStatus
component. If applicable, it displays the DropdownFilters
component, the BulkActions
component.
Basic usage
TableControlBar Subcomponents
These components are used by the TableControlBar
but can also be used individually as children of DataTable
.
className
string
DefaultnullSpecifies class name to append to the base element
className
string
Defaultnullclass names for the div wrapping the button components
- Defaultnull
className
string
- Default'pgn__smart-status-button'
buttonClassName
string
- Default'link'
variant
string
- Default'inline'
size
string
- Default'Clear Filters'
clearFiltersText
string
- Defaulttrue
showFilteredFields
bool
className
string
A class name to append to the base element
clearSelectionText
string
DefaultCLEAR_SELECTION_TEXTA text that appears on the
Clear selection
button
className
string
Specifies class name to append to the base element.