Facets and pagination
The DataList component supports facets such as header and footer for content using p-header and p-footer tags. In order to improve the user experience on large datasets, it supports the pagination feature. This feature is enabled by setting the paginator property as true and it sets a number of rows to be displayed using the rows property. Apart from these mandatory settings, there are some optional customized settings for pagination. Among all those optional properties, paginatorPosition is used to display the paginator either in top, bottom, or both positions; rowsPerPageOptions is used to display a drop-down with a possible number of rows to be displayed in a page, and emptyMessage is used to display a data list body ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access