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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.