classNameHead | String | Table head (<thead> ) class name | "thead-light" |
classNamePager | String | Page list (<ul> ) class name | "pagination mb-0 justify-content-center justify-content-lg-start" |
classNameRow | String | Table content rows (<tr> ) class name | "" |
classNameTable | String | Table (<table> ) class name | "table table-striped table-hover table-bordered" |
defaultFilter | Object | Initial filter values (name: value ) | {} |
defaultPager | Object | Initial pager and sort by values | { page: 1, pageSize: 10, sortBy: ''} |
enableSorting | Boolean | To disable sorting for all columns, set this param to false | true |
extractId | Function | This function can be used to extract each row unique key.
By default component will use the id key. | (item) => item.id |
locale | Object | Object with localized interface elements. | {} |
onError | Function | This function can be used to override the default errors handler. | |
onParamsChanged | Function | This function can be used to override the default params changing behaviour. | |
pageShowMax | Number | Specifies the maximum number of pages to be displayed in the page bar. | 10 |
pageSizes | Array of numbers | An array of allowed page sizes. Also it will be used in switch page sizes dropdown list. | [10, 20, 30] |
provider | Function, Array | Required. The data provider for the view. It can be an array of objects, an async function, or an instance of the special FetchProvider helper class. | |
renderError | Function | This function can be used to override the default error message. | |
renderLoading | Function | This function can be used to override the default loading indicator. | |
renderPageBar | Function | This function can be used to change page bar render. | |
renderPageSummary | Function | This function can be used to change page summary text. | |
renderTemplate | Function | A function that receives table and pageBar arguments and is used to determine the order of displaying component's parts.
For example, you can show page bar above the table or show two page bars above and below the table. | |
showFilter | Boolean | Whether the filter row should be shown. | true |
showPageBar | Boolean | Whether the page bar should be shown. | true |
showPageNext | Boolean | Whether the "Next page" button should be shown. | true |
showPagePrevious | Boolean | Whether the "Previous page" button should be shown. | true |