Results 1 to 2 of 2

Thread: Refresh Panels

  1. #1
    Ext User
    Join Date
    Dec 2007
    Vote Rating

    Smile Refresh Panels


    I have a Tab panel and in one of the tabs I added a content panel . The content panel contains a table created using Table, TableColumnModel and TableItem classes. I'm making GWT RPC call to fetch the table data from the backend and preparing the table.

    I have another page to insert the data in the back end.

    Whenever I insert a new Record in the database I need to show the latest data in the table. My problem is I need to do a browser refresh to see the data getting reflected on the table.

    I have put in some debugging statements. The RPC call is returning the data properly but the table renderer is not refreshing the data.

    Please let me know how to refresh a panel programatically.

    Let me know if there are any other ways of building the same functionality in better a way.

    Thanks in advance.


  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Brisbane, Australia
    Vote Rating


    panel.layout() normally does it, but are you using a model and updating it via that method? if so, you shouldn't need to refresh the panel using layout. post some code that works as an example to test any problems...

Posting Permissions

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