Results 1 to 2 of 2

Thread: Problem on Grid having Pagination

  1. #1

    Default Problem on Grid having Pagination

    Hi ,

    I have Grid and one every row i have provided a button , i provide a FormPanel and in that Panel i provide a Back Button on click of that you come back to page that has Grid with the page from where you left.....

    I mean to say if we click on a row that exist in Page 2 so after returning back we aill return to Page 2 itself not to Page 1 .......


    It works well in FF but breaks in IE every 3rd / 4th time............


    This is my Store :

    var storeEmplSubscriber = new Ext.data.JsonStore({
    url : cp + '/riEASearchSubscriber.json',
    root : 'riEASubs',
    totalProperty : 'results',
    id : 'storeEmplSubscriber',
    remoteSort: true,
    sorters: [{
    property: 'firstName',
    direction: 'ASC' // or 'ASC'
    },
    {
    property: 'lastName',
    direction: 'ASC' // or 'ASC'
    },
    {
    property: 'Badge',
    direction: 'ASC' // or 'ASC'
    }],
    fields : ['Key', 'Id', 'firstName', 'lastName', 'Badge']
    });


    Ext.StoreMgr.get("storeEmplSubscriber").load ({
    params: {
    start : 0 ,
    limit: listSize
    }
    });




    And this is my Back Button Functionality :




    backToSearch : function() {

    var contract = this.getRIEAErrorSearchFixPanel();

    var cursr = Ext.getCmp('EmplSearchGrid').getBottomToolbar( ).cursor ;


    contract.setActiveCard(0);

    storeEmplSubscriber.reload({params: {start: cursr,limit : listSize}});


    }





    Please help me out on this..................
    Any Help would be appreciated...........


    Thanks

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    I'm having a little trouble following what you've got set up. Can you create a simple test case that demonstrates what you're doing?

    *You can save a test case at https://fiddle.sencha.com using your forum login / password to sign in if that helps in sharing a test case.

Posting Permissions

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