Questions tagged [mat-pagination]
41 questions
9
votes
6 answers
How to change the text in the label in pagination with MatPaginator?
I'm using Angular Material. How can I change the text in the label in the pagination display? In particular, I want to customize the label for the page size selector.
I tried to do this, but it did not seem to work:

user10720571
- 353
- 1
- 4
- 15
4
votes
2 answers
mat-paginator length is not working.Not able to set it
I am trying to call API on the click of pagination. Initially, I had
set the length statically and it was working fine. I was able to do a
pagination API call.And then I had tried to set the length dynamically
as well and it worked too, but later…

Shashwat Tyagi
- 255
- 5
- 15
3
votes
2 answers
How to access child component from parent component in Angular?
I have mat-paginator in a child component a shown below:
child.component.html
I want to get this paginator from parent component using @ViewChild() as shown below:
parent.component.html

Jack
- 1
- 21
- 118
- 236
3
votes
1 answer
Mat Paginator not working with FormArray on Material Table
I am using mat-table with formArray in it, also I need to Mat-paginator.
But unfortunately pagination not working.
Stackbltiz Demo
Sample Source,
.html