Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi, I am looking for a way how to change page size of angular grid manually in code (not using the pager). Basically I am looking for a method you have implemented for the JS version of SF Grid:
https://help.syncfusion.com/api/js/ejgrid#methods:changepagesize
I tried
@ViewChild('analystGrid')
analystGrid: GridComponent; ...But this doesn't change the page size, it stays the way it was initialized. I also tried changing the pageSettings object:this.analystGrid.refresh();this.analystGrid.pageSettings.pageSize = 3;
<ejs-grid #analystGrid [pageSettings]="analystResearchPageSettings" ..>and in TS:
this.analystResearchPageSettings = {.. pageSize: 3}but it is the same - stays only the way it was first initialized. Is there a way of changing the size manually? It works when I use the pager UI toolbar and change the page size, so there must be some kind of way to do this.