Issue
I would like an option to display all rows in the table. Angular Material only supports numbers for page size options. I need something like this:
[pageSizeOptions]="[5, 10, 25, 50, 100, 'All']"
Solution
You could try this:
[dataSource] = "dataSource"
...
[pageSizeOptions] = "[5, 10, 25, 50, 100, dataSource.data.length]"
Answered By - Arigui Ahmed
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.