1. #1
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    51
    Vote Rating
    0
    atul.sachan@capgemini.com is on a distinguished road

      0  

    Default Unanswered: Paging Store does not work for local data

    Unanswered: Paging Store does not work for local data


    I am using ExtJs 4 'Ext.toolbar.Paging' for local data but pagination is not working here.

    // Data
    var gridData = [['7354','29/03/2011','003','Lution PDC','12345678','Standard','Shipped','30/03/2011','123232145','PDF'],
    ['7354','29/03/2011','003','Lution PDC','12345678','Standard','Shipped','30/03/2011','123232145','PDF'],
    ['7354','29/03/2011','003','Lution PDC','12345678','Standard','Shipped','30/03/2011','123232145','PDF'],
    ['7354','29/03/2011','003','Lution PDC','12345678','Standard','Shipped','30/03/2011','123232145','PDF'],
    ['7354','29/03/2011','003','Lution PDC','12345678','Standard','Shipped','30/03/2011','123232145','PDF']];

    // Store
    var gridDataStore = Ext.create('Ext.data.ArrayStore', {fields: [{name: 'cusPONum'},{name: 'orderDate'},{name: 'facilityCode'},{name: 'facility'},{name: 'gmOrderNo'},
    {name: 'orderType'},{name: 'orderStatus'},{name: 'lstShipment'},{name: 'lstShipmentNum'},{name: 'pdfimg'},],
    data: gridData,autoLoad: false, pageSize:1
    });

    // loading a store
    gridDataStore.load({
    params : {
    start : 0,
    limit : 1
    }
    });
    /// paging toolbar
    dockedItems: [{
    xtype: 'pagingtoolbar',
    store: gridDataStore, // same store GridPanel is using
    dock: 'bottom',
    //width:150,
    displayInfo: false,
    items :[{xtype:'button',text:'Export to Excel',width:100,style :{marginLeft:'500px'}},
    {xtype:'button',text:'Print Preview',width:100,style :{marginLeft:'20px'}}]
    }],

    could you please suggest any solution for the same?
    Thanks.
    AS

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    you already have the answer in the thread of the UX for ext js 3:
    http://www.sencha.com/forum/showthre...l=1#post668809
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    51
    Vote Rating
    0
    atul.sachan@capgemini.com is on a distinguished road

      0  

    Default


    could you please suggest any example for
    Ext.ux.data.PagingMemoryProxy ?

    I tried but it is not working for me.
    AS

  4. #4
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi