Customize Pager DropDown in Angular Grid component

I have tried

 this.pageSettings = { pageSizes: ['5', '10', '15','20','All'] };


but it is not working fine , just show  

  ['5', '10', 'All']  in dropdown



1 Reply

JC Joseph Christ Nithin Issack Syncfusion Team September 14, 2021 10:16 AM UTC

Hi Sara, 

  Greetings from Syncfusion software. 

  Based on your query, when you set the `pageSizes` option of the `pageSettings` property of the EJ2 Grid to `['5', '10', '15','20','All']` it shows only ` ['5', '10', 'All']` as the options in the dropdown list. Using the code example provided we have tried to replicate the mentioned issue but we were not able to reproduce the issue. We have attached the screenshot and the sample for your reference. 

Screenshot

 


Please find the attached sample and if the issue still persists then provide the following details so that we may be able to provide a better solution. 
  • Complete grid rendering code.
  • Screenshot or video representation of the issue.
  • Syncfusion package version you are using.

Regards, 
Joseph I 


Loader.
Up arrow icon