Table API
API reference docs for theTable
component. For examples and details on the usage of this component, visit the component demo page.
Props
Props | Type | Definition | Default |
---|---|---|---|
|
| The |
|
|
| The dataset for the table.Each item in the array represents a row in the table and can be either an object or a primitive value. | _ |
|
| The columns of the table. Each column is represented by a | _ |
|
| Configuration to control the pagination behavior of the table. It should include properties such as | _ |
|
| Fallback template to render inside the table body when there is no data available. | _ |
|
| Sorting is enabled by default for the table. To disable sorting for the entire table, set this prop to Note: You can also disable sorting for specific columns by setting this in the column definition for the required columns. | _ |
|
| For numbers, the default sorting direction is DESC, while for strings, it is ASC. To apply the same sorting order (DESC) to strings as well, set this prop to |