I'm using MatPaginator
from Angular Material, just trying to update the offset text on the paginator in a callback or whichever might be recommended way. Here's a demo they have up.
I'm making a request, getting the resp with offset. Setting the paginator.pageIndex
, perhaps it's the correct page but the range text is showing as if were the first page. So I just need access to a method that updates the text as expected.
The API docs say:
To modify the labels and text displayed, create a new instance of MatPaginatorIntl and include it in a custom provider
Has anyone seen examples of MatPaginatorIntl
being used? Just looking for a little jump start.