The component provides two event callbacks, one for pagination and the other one for lazy loading. Both events provide two arguments to get the first record and number of rows present on the page. The lazy loading event is invoked on pagination, filtering, and sorting functionalities by enabling a lazy mode.
Name | Parameters | Description |
onLazyLoad |
|
Callback to invoke when paging, sorting, or filtering happens in a lazy mode. |
onPage |
|
Callback to invoke when pagination occurs. |
Â
It provides many other features such as facets for header and footer display (p-header and p-footer), pagination to navigate between multiple pages, and a lazy loading feature for retrieving the data on demand.
The complete demo application with instructions is available on GitHub at
https://github.com/ova2/angular-development-with-primeng...
https://github.com/ova2/angular-development-with-primeng...