Pagination and sorting
The CarbonListComponent supports backend pagination and sorting. In order to make use of these, a couple of things need to be set up.
You need to specify in the
fields
which columns are sortable and set a pagination object:sample.component.ts
You need to add the output listeners for pagination and sorting in the template and pass the pagination object to the list:
sample.component.html
Add handlers for the output listeners:
sample.component.ts
This will create a list with pagination and sorting:

Last updated