Announcement

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

    Refresh ListGrid In Another Tab

    I have several tabs, one tab(tabone) has data which a second tab(tabtwo) can update.

    If a user views tabtwo first and makes changes and then views tabone, the changes are shown because tabone has not yet been created. If they then make further changes to tabtwo and then go back and view tabone the changes aren't displayed because the object has already been created.

    How do you update tabone with these changes? I am after updating a listGrid (RestDataSource).

    I tried using getTabObject() and passing in the index of tabone and then tried to access the listGrid via pane and use fetchData(). It keeps saying object does not exist.

    #2
    If tab two has a DynamicForm bound to a DataSource and tab one has a ListGrid bound to the same DataSource, changes saved by tab two will be automatically reflected in the ListGrid in tab one. You haven't specified the actual components involved so it's not clear if you have this setup.

    As far as getting to a pane, your approach sounds correct, you'll have to show your actual code in order to get more help.

    Comment

    Working...
    X