Results 1 to 3 of 3

Thread: dynamically page size in paging store

  1. #1
    Sencha Premium User
    Join Date
    Feb 2018
    Posts
    5

    Default dynamically page size in paging store

    Hello,

    I'm wondering if it is possible dynamically change page size in paging store.
    Is there a way to automatically adjust the number of records and output them to the grid without having to press the toggle button?

    If I use a fixed page size in the pivot grid, some records are missing and are reloaded on the next page.
    How can I do..?

  2. #2
    Sencha User
    Join Date
    Jun 2017
    Posts
    25
    Answers
    1

    Default

    I think you might be looking for the setPageSize() method?

    https://docs.sencha.com/extjs/6.0.2/...od-setPageSize

  3. #3
    Sencha User mounir1's Avatar
    Join Date
    Jan 2018
    Location
    Turkey Antalya
    Posts
    10

    Default

    beforeLoad event is the best place to set pagesize check out this examples ..



    I have done like this .. let me know if there is a better way



    the limit can be set also I guess just as this thread https://www.sencha.com/forum/showthr...-loading-Store
    Last edited by mounir1; 3 Apr 2018 at 4:45 AM. Reason: solved

Similar Threads

  1. How to Increase the box size of page number in paging ToolBar(EXT 2.0)
    By sorna_lavanya in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 5 Sep 2017, 4:19 AM
  2. Replies: 1
    Last Post: 10 Jul 2014, 12:08 AM
  3. Store paging - only getting one item per page load with list paging
    By azamatoak in forum Sencha Touch 2.x: Discussion
    Replies: 2
    Last Post: 7 May 2013, 5:56 AM
  4. PagingToolBar failure when changing page size dynamically
    By d95sld95 in forum Ext GWT: Discussion
    Replies: 5
    Last Post: 7 Oct 2009, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •