1. #1
    Ext User
    Join Date
    Sep 2009
    Posts
    26
    Vote Rating
    0
    syedarshadali is on a distinguished road

      0  

    Default Any event available on pressing Ext.PagingToolbar Refresh button

    Any event available on pressing Ext.PagingToolbar Refresh button


    Is there any event available on pressing Ext.PagingToolbar Refresh button.

  2. #2
    Ext User
    Join Date
    Sep 2009
    Posts
    26
    Vote Rating
    0
    syedarshadali is on a distinguished road

      0  

    Default


    Quote Originally Posted by syedarshadali View Post
    Is there any event available on pressing Ext.PagingToolbar Refresh button.
    I can call my specified function on paging toolbar's referesh button's click by :

    grid.getBottomToolbar().refresh.on('click', resetSearch );

    But, I want to load my store with different params on referesh click, is there any way to do this?

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You could do an inline override of the doRefresh method, but you probably don't even need to.

    You just need to specify your parameters in the store baseParams, so they are sent with every request.

Thread Participants: 1