1. #111
    Sencha User
    Join Date
    Mar 2010
    Posts
    55
    Vote Rating
    0
    necco is on a distinguished road

      0  

    Question PagingStore and RowNumberer

    PagingStore and RowNumberer


    How can I make both plug-ins to work together?
    Now RowNumberer counts the rows for each page.
    For example if the grid has 3 pages each of them with 22 records RowNumberer column shows only the numbers from 1 to 22 on each page... doesn't count entire grid 1 to 66 (the second page starts again from 1 to 22 like the third one).

  2. #112
    Sencha User
    Join Date
    Nov 2011
    Posts
    3
    Vote Rating
    0
    franck.prevostat is on a distinguished road

      0  

    Default Does-it run with ExtJS 4

    Does-it run with ExtJS 4


    Hi,
    It seemsPagingStore doesn't run with extjs v4.
    I've got an error like:
    members is undefined
    members.extend = superclass; ext-all-debug.js (ligne 3375)

    Have you try to run this extension with ExtJS v4 ?

    Thank you,
    Franck.

  3. #113
    Sencha User
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    ash4aque is on a distinguished road

      0  

    Default Facing Prblem in search from second page!!!

    Facing Prblem in search from second page!!!


    I am using PagingStore for local pagination as my applicatoin need to have all the data from the first call,
    as Search functionality is of more importance. I am using it as rendering all the data on switching the tab is costly.
    It works fine but the moment I click next to show say next 50 records search breaks. Otherwise search is working properly from the first page. I need to have a exhaustive search for the all the data in store from every page. I am using store.filter('name', 'entered_key', true) on each key press. Please suggest any solutions.

    Code:
    var proxy = new Ext.data.HttpProxy({
    url : 'list.json',
    restful: false
    });

    ------------------------------
    var store = new Ext.ux.data.PagingStore({
    reader: new Ext.data.ArrayReader({
    fields: [
    {name: 'active'},
    {name: 'id'},
    {name: 'startTime'},
    {name: 'endTime'} ],
    }),
    proxy: proxy,
    id: 'id',
    baseParams: {params:{start: 0,limit: 50}},
    listeners: {
    load: function(){
    fixMinHeight();
    }
    }
    });
    -----------------------------------------------
    var userGrid = new Ext.grid.GridPanel({
    store: store,
    columns:[sm2,
    {header: "", width:10, sortable: true, dataIndex: 'active', renderertatusRenderer},
    {id:'name', width:200, sortable: true, dataIndex: 'name'},
    {id: 'startTime', align: 'right',sortable: true, dataIndex: 'startTime', renderer: },
    {id: 'endTime', header: "End Time", align: 'right',sortable: true, dataIndex: 'endTime'
    ],
    loadMask:true,
    stripeRows: true,
    smm,
    autoExpandColumn: 'name',
    bbar: new Ext.PagingToolbar({
    store: store,
    autoScroll:true,
    autoWidth:false,
    hideBorders:true,
    pageSize: 50,
    displayInfo: true
    }),
    viewConfig: {
    forceFit: true,
    getRowClass: rowCssRenderer
    },
    listeners: {
    cellclick: callback
    }
    });
    userGrid.store.load({params:{start: 0, limit: 50}});

    -------------------------------------------------------
    ...{
    xtype:'textfield',
    width:200,
    listeners: {
    render: function(f) {
    f.el.on('keydown',function(){store.filter('name',e.target.value, true);},f,{buffer:250});
    }
    }
    }...

    -------------------------------------------
    Last edited by ash4aque; 6 Dec 2011 at 11:55 AM. Reason: format the code

  4. #114
    Sencha User
    Join Date
    Feb 2012
    Posts
    13
    Vote Rating
    0
    perseusy is on a distinguished road

      0  

    Default Hoping there is a ExtJS 4.x version

    Hoping there is a ExtJS 4.x version


    PagingMemoryProxy really limited every operation in "current page".....

    Why not just enhance the MemoryStore to support paging?