TableProps
Props for Table
Properties
id?
optionalid:string
Unique identifier for the table
items
items:
WithId[]
Array of items to display in the table
loading?
optionalloading:boolean
Controls whether the table should display a loading state. Used when data is being fetched or processed externally
onItemDeleted?
optionalonItemDeleted:VoidFuncNoParam
Callback function invoked after an item has been deleted
onPaging()?
optionalonPaging: (v) =>void
Event handler called when pagination changes Receives the pagination configuration as parameter
Parameters
v
Returns
void
onRefreshItems?
optionalonRefreshItems:VoidFuncNoParam
Event handler called when items need to be refreshed Typically called after actions like sort, filter, or data updates
onRowClick()?
optionalonRowClick: (v) =>void
Event handler called when a row is clicked Receives the clicked row's data item as parameter
Parameters
v
Returns
void
onRowsUpdate()?
optionalonRowsUpdate: (v) =>void
Event handler called when rows are updated Receives array of updated data items to synchronize with external state
Parameters
v
WithId[]
Returns
void
onSort()?
optionalonSort: (v) =>void
Event handler called when sorting is requested Receives the sort configuration as parameter Called when TableConfig.externalSorting is true
Parameters
v
Returns
void
tableConfig
tableConfig:
TableConfig
Configuration for the table behavior and appearance
uiResourceMeta?
optionaluiResourceMeta:UiResourceMeta
Ui metadata for items