Data Table

Display tabular data in format.

Standard

Display formatted data in rows and columns.

Sortable

Display sortable formatted data in rows and columns.

Global Searchbar

Display formatted data in rows and columns with global Searchbar over all columns.

Pagination

Display formatted data in rows and columns with pagination.

APIs / Schnittstellendokumentation

DataTable.Props

AttributeDescriptionTypeDefault
datadata sourceArray-
columnscolumns sourceArray-
sortableenables sortingbooleanfalse
searchBarenables global searchbar on top of tablebooleanfalse
paginationenables paginationbooleanfalse
pageSizepage size for paginationnumber50
searchPaddingpadding of the searchbar componentnumber16
paginationPaddingpadding of the pagination componentnumber16
onClickRowcalled when a single row is clickedFunction-