1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    10
    Vote Rating
    0
    manojvijayan is on a distinguished road

      0  

    Default rownumber issue

    rownumber issue


    i have created the grid with EXTJS 4.0.7 .I update the grid dynamically using reconfigure function

    Code:
    store.proxy.url='json_data.php';
    store.proxy.extraParams={task:'list'};
    store.model.prototype.fields.addAll(fields);
                                            
    salesorder_grid.reconfigure(store, columns);
    Ext.getCmp('pagingtoolbar').store =store;    
    
    store.proxy.reader.totalProperty=gridTotal;
    store.totalCount =gridTotal;
    store.loadData(gridData);                                        
    Ext.getCmp('pagingtoolbar').onLoad();
    The above code works very well.

    But the row number of grid is not changed.When i goes to second page,the row number starts from 1

    How can i fix it.
    Last edited by manojvijayan; 8 Mar 2012 at 8:41 PM. Reason: added [CODE] tags

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,642
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What Ext JS 4 version?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2008
    Posts
    10
    Vote Rating
    0
    manojvijayan is on a distinguished road

      0  

    Default


    Extjs 4.0.7

Thread Participants: 1