Results 1 to 2 of 2

Thread: how to switch on - off store pagenating within one store

  1. #1

    Default how to switch on - off store pagenating within one store

    Hi All,
    I have a store - model defined like this

    PHP Code:
    proxy: {
             
    type'rest',
             
    url'server/rest/mydata',
             
    reader: {
                 
    type'json',
                 
    root'data'
             
    }
         } 
    default paging is 25.
    I know how to supress pagenating at all. But I need this store within some codesnippets - most with pagenating - but somtimes without paginating. Is there an example how to solve this problem?
    Thanks in advance

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Can you create two different instances of the store? Seems like you might want two different server scripts (one for paging, one not).

Similar Threads

  1. Grid store switch help
    By zachHurt in forum Ext: Q&A
    Replies: 6
    Last Post: 22 Jun 2012, 4:14 AM
  2. Switch To Store Would be hugely helpful
    By pkellner in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 27 Apr 2012, 7:08 AM
  3. Replies: 1
    Last Post: 15 Nov 2009, 11:14 PM
  4. Replies: 2
    Last Post: 29 Jul 2009, 9:12 AM

Posting Permissions

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