1. #1
    Sencha User
    Join Date
    Apr 2011
    Location
    Paris
    Posts
    1
    Vote Rating
    0
    sindibad is on a distinguished road

      0  

    Default LoadPage From Store

    LoadPage From Store


    Hello,
    I try to use the function loadPage from Store but it's same not work wel beaucouse when i execute it the sencha touch load all data from store !!!!
    sample :
    store.pageSize=10;
    store.start=1;
    store.on('load',function(store,result,stat){
    alert('result.length ='+result.length);
    });
    store.loadPage(1);

    done all size of store and not pageSize!!!!

    my question is How to use store.loadPage

    Thank you in advance

  2. #2
    Sencha User
    Join Date
    Jan 2009
    Posts
    3
    Vote Rating
    0
    flyingto is on a distinguished road

      0  

    Default


    I have the same problem.
    Is there anybody who know it.

  3. #3
    Sencha User
    Join Date
    Jan 2009
    Posts
    3
    Vote Rating
    0
    flyingto is on a distinguished road

      0  

    Default


    I know the reason,the loadPage() function does not paging store itself,it only passes several parameters in url to server(e.g page,limit).

Similar Threads

  1. Replies: 5
    Last Post: 8 Sep 2011, 12:48 AM
  2. Replies: 0
    Last Post: 12 Feb 2011, 4:38 AM
  3. Replies: 4
    Last Post: 23 Aug 2010, 12:44 PM
  4. Replies: 2
    Last Post: 29 Jul 2009, 9:12 AM
  5. Abort previous LoadableDataModel.loadPage calls
    By kalebwalton in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 5 Jan 2007, 9:49 AM

Thread Participants: 1

Tags for this Thread