TableFooter
Main DataTable pageThe TableFooter
component is meant to be rendered within a DataTableContext
(provided by DataTable
here).
By default, it shows how many items are being displayed on the left, pagination dropdown in the middle, and
navigation buttons on the right.
Alternately, it will accept children.
Rendering with override components
Footer subcomponents
These components can be rendered independently of the TableFooter
component with a DataTableContext
: RowStatus
,
TablePagination
, TablePaginationMinimal
.
RowStatus
expects to receivepage
,rows
, anditemCount
fromDataTableContext
TablePagination
expects to receivepageCount
,state
, andgotoPage
fromDataTableContext
TablePaginationMinimal
expects to receivenextPage
,previousPage
,canPreviousPage
, andcanNextPage
fromDataTableContext
RowStatus Props API
className
string
Specifies class name to append to the base element.
TablePagination Props API
This component does not receive any props.
TablePaginationMinimal Props API
This component does not receive any props.