Skip to Content
author's profile photo Former Member
Former Member

How to refresh a web dynpro table

Hi,

I have a web dynpro table in View1, which contains dropdowns in each column. When i select few items from the drop downs and go to View2 and come back to View 1, i get the selected items again. I want to referesh view1 as if iam visiting the page for the first time. How can we get it done?

Any help?

regards,

Sujesh

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Aug 04, 2006 at 05:50 AM

    Hi Suresh,

    You dont essentially the table but the context that you use to bind to the table. So

    wdContext.nodeTest().invalidate() and then binding again will help

    wdContext.nodeTest().invalidate();

    wdContext.nodeTest().bind(collection);

    REgards,

    Arun

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 04, 2006 at 05:43 AM

    Hi,

    Try to invalidate the table node using invalide() Method. Put the follwoing code inside In your onflug from second view in the first view. After invalidate you have load values otherwise you wont get values in table.

    IPrivate<viewname>.I<noename>Node node=wdContext.node<nodename>();

    node.invalidate();

    Kind Regards,

    S.Saravanan.

    Add comment
    10|10000 characters needed characters exceeded