Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    IPickTreeItem Refresh Not Working

    SmartGWT 3.0 original release and 3.0p 2012-08-24

    Firefox 14.0.1

    Trying to reload an IPickTreeItem (our screen has a refresh button that when pressed should reload the control, picking up any changes outside the screen).

    Currently doing the following against the DataSource to force a reload:
    Code:
    		DSResponse response = new DSResponse();
    		response.setInvalidateCache(true);
    		ds.updateCaches(response);
    And doing a .fetchData() against the IPickTreeItem.

    According to the developer console, the correct revised data is being retrieved upon hitting our refresh button and executing this code. However, clicking on the IPickTreeItem control itself shows the old data and doesn't reflect the revised data retrieved.

    Wanted to see if I was missing something before trying to post a standalone test case to demonstrate the problem.

    Ed Reddy

    #2
    Those would be redundant and potentially conflicting approaches - use just one or the other. Once you're using only one, if that doesn't solve the problem, we'll need a way to reproduce the issue.

    Comment

    Working...
    X