Results 1 to 3 of 3

Thread: How to refresh GridPanel?

  1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Hamburg, Germany
    Posts
    97
    Vote Rating
    0
      0  

    Default How to refresh GridPanel?

    Hi all,

    does a simple
    Code:
    Ext.getCmp('<GridPanel-ID>').getStore().reload();
    refresh the GridPanel itself? It seems it doesn't so which steps are important to get the GridPanel rerendered after the store is reloaded?
    Cheerio,

    Chris

  2. #2
    Sencha User
    Join Date
    Jul 2009
    Posts
    88
    Vote Rating
    1
      0  

    Default

    Quote Originally Posted by ctp View Post
    Hi all,

    does a simple
    Code:
    Ext.getCmp('<GridPanel-ID>').getStore().reload();
    refresh the GridPanel itself? It seems it doesn't so which steps are important to get the GridPanel rerendered after the store is reloaded?
    try
    Ext.getCmp('<GridPanel-ID>').getView().refresh();
    after store load.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,644
    Vote Rating
    60
      0  

    Default

    Don't need to do that.

    Loading the Store refreshes the GridView. Of course.
    Longtime Sencha geek. Outspoken advocate of pure Javascript Views. Posts my own opinions.

Similar Threads

  1. refresh only one column in gridpanel
    By po2lbx in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 25 Oct 2010, 1:11 AM
  2. How to refresh a gridPanel?
    By mainmich in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 17 Jun 2010, 3:10 AM
  3. Auto Refresh GridPanel?
    By ferryman in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 9 Aug 2009, 10:59 PM
  4. How to refresh GridPanel
    By silcreval in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 29 Dec 2008, 5:11 AM

Posting Permissions

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