TablePaginationOwnProps

Types

Link copied to clipboard
interface SlotProps

Properties

Link copied to clipboard
abstract var colSpan: Number?
Link copied to clipboard
abstract var count: Number

The total number of rows.

Link copied to clipboard
abstract var getItemAriaLabel: (type: ItemAriaLabelType) -> String?

Accepts a function which returns a string value that provides a user-friendly name for the current page. This is important for screen reader users.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract var labelDisplayedRows: (paginationInfo: LabelDisplayedRowsArgs) -> ReactNode?

Customize the displayed rows label. Invoked with a { from, to, count, page } object.

Link copied to clipboard
abstract var labelId: String?

Id of the label element within the pagination.

Link copied to clipboard

Customize the rows per page label.

Link copied to clipboard
abstract var onPageChange: (event: MouseEvent<HTMLButtonElement, *>?, page: Number) -> Unit

Callback fired when the page is changed.

Link copied to clipboard

Callback fired when the number of rows per page is changed.

Link copied to clipboard
abstract var page: Number

The zero-based index of the current page.

Link copied to clipboard
abstract var rowsPerPage: Number

The number of rows per page.

Link copied to clipboard
abstract var rowsPerPageOptions: dynamic

Customizes the options of the rows per page select field. If less than two options are available, no select field will be displayed. Use -1 for the value with a custom label to show all the rows.

Link copied to clipboard
abstract var selectId: String?

Id of the select element within the pagination.

Link copied to clipboard

The props used for each slot inside the TablePagination.

Link copied to clipboard

The components used for each slot inside the TablePagination. Either a string to use a HTML element or a component.

Functions

Link copied to clipboard
open inline operator fun Props?.unaryPlus()