DataTable

DataTable.

# Basic Usage


#

DataTable Component

PropTypeDescription
structureArrayDefinition of the table columns.
dataArrayData to be displayed in the table.
paginationobjectPagination configuration and state.
filterobjectFiltering options for the table.
setDatefunctionFunction to set the date range for filtering.
setPagefunctionFunction to set the current page for pagination.
setSearchfunctionFunction to set the search query.
dndFuncfunctionFunction executed when reordering rows.
handleUpdatefunctionFunction to update a record.
handleDeletefunctionFunction to delete a record.
handleFeaturefunctionFunction to handle feature toggling.
orderNumberbooleanDisplays an order number in the first column.
loadingbooleanIndicates whether the table is loading data.
manageColumnsbooleanEnables column management.