Author Topic: "All" option in paging dropdown  (Read 1810 times)

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
"All" option in paging dropdown
« on: September 12, 2017, 01:55:45 am »
Hi,

On "All" option in paging drop down, I want to show all data  at once. How can I do that ?

 Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: "All" option in paging dropdown
« Reply #1 on: September 12, 2017, 10:11:04 pm »
'All' option in paging drop down is not supported. you can place a button in the toolbar or somewhere else, on the click of which show all the records.

Code: [Select]
            var len = grid.getData().length;
            grid.option('pageModel.rPP', len);
            grid.refreshView();