GridPanel reload

  1. #1

    GridPanel reload

    I have the following code:

                 <ext:Button ID="btnRefresh" runat="server"  Text="Odśwież" Icon="ArrowRefresh">
                                <Listeners>
                                    <Click Handler="#{Store1}.reload();" />
                                </Listeners>
                            </ext:Button>
    The GridPanel consists approximately of 200 records. The above hides them and doesn't reload. What's wrong here? Page refresh would also do the trick.
    How can I achieve reload or refresh?
  2. #2
    I added the following and everything works now:

    protected void Store1_RefershData(object sender, StoreReadDataEventArgs e)
     {
       this.Store1.DataBind();
     }

Similar Threads

  1. Gridpanel: dynamically reload combobox
    By slonati_adv in forum 2.x Help
    Replies: 0
    Last Post: Sep 26, 2012, 10:06 AM
  2. Gridpanel reload in every 5 mins
    By shijith in forum 1.x Help
    Replies: 5
    Last Post: Dec 01, 2010, 8:32 AM
  3. About GridPanel.reload
    By helpme in forum 1.x Help
    Replies: 0
    Last Post: Mar 24, 2010, 12:52 AM
  4. Replies: 4
    Last Post: Jun 15, 2009, 10:45 AM
  5. How to reload a gridpanel without notification?
    By mcdonald in forum 1.x Help
    Replies: 2
    Last Post: May 13, 2009, 10:57 AM

Tags for this Thread

Posting Permissions