How to auto press refresh button on pagingtoolbar after insert new record

  1. #1

    How to auto press refresh button on pagingtoolbar after insert new record

    Hi all,

    I need for Refresh Button on pagingtoolbar pressed automatically to refresh grid

    please see the image

    1. when load grid total record correctly (24 records)

    Click image for larger version. 

Name:	grid1.gif 
Views:	12 
Size:	22.0 KB 
ID:	7287

    2. when insert new record display 1-24 of 25

    Click image for larger version. 

Name:	grid2.gif 
Views:	12 
Size:	23.9 KB 
ID:	7288

    3. when click on Refresh Button on toolbar grid doesn't reload

    Click image for larger version. 

Name:	grid3_after_click_refresh_btn_on_toolbar.gif 
Views:	9 
Size:	24.5 KB 
ID:	7289

    the code i tried ..
    <ext:Button ID="RefreshButton" runat="server" Text="Refresh" Icon="ArrowRefresh" StandOut="true">
         <Listeners>
              <Click Handler="#{Store1}.reload();
                                     #{GridPanel1}.reload();
                                     #{GridPanel1}.getStore().reload();
                                     #{GridPanel1}.getView().refresh();
                                     #{GridPanel1}.store.load();
                                     #{GridPanel1}.store.reload();" />
         </Listeners>
    </ext:Button>
    but does'nt work!

    4. when click on Refresh Button on pagingtoolbar, grid loaded correctly

    Click image for larger version. 

Name:	grid4_after_click_refresh_btn_on_paging.gif 
Views:	7 
Size:	24.3 KB 
ID:	7290


    Could you please advice, Thank you
    Sorry for poor English language ...
    Last edited by Aod47; Nov 28, 2013 at 5:37 AM.

Similar Threads

  1. [CLOSED] Refresh button PagingToolBar --> Event ?
    By CarWise in forum 2.x Premium Help
    Replies: 4
    Last Post: May 02, 2013, 3:51 PM
  2. Disable refresh button in PagingToolBar
    By Kaido in forum 1.x Help
    Replies: 7
    Last Post: Jan 05, 2011, 6:11 PM
  3. Replies: 2
    Last Post: Feb 24, 2010, 6:04 PM
  4. Problem with Press next button in pagingtoolbar
    By ranganath in forum 1.x Help
    Replies: 2
    Last Post: Dec 05, 2009, 2:30 AM
  5. Replies: 0
    Last Post: Jun 13, 2009, 6:34 AM

Tags for this Thread

Posting Permissions