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
stringRequiredDefaultnullSpecifies class name to append to the base element
- className
stringRequiredDefaultnullclass names for the div wrapping the button components
- classNameDefaultnull
stringRequired - buttonClassNameDefault'pgn__smart-status-button'
stringRequired - variantDefault'link'
stringRequired - sizeDefault'inline'
stringRequired - clearFiltersText
elementRequired |stringRequired Required - showFilteredFieldsDefaulttrue
boolRequired
- className
stringRequiredA class name to append to the base element
- clearSelectionText
stringRequired |elementRequired RequiredA text that appears on the
Clear selectionbutton, defaults to 'Clear Selection'
- className
stringRequiredSpecifies class name to append to the base element.
- statusText
stringRequired |elementRequired RequiredA text describing how many rows is shown in the table.