cancel
Showing results for 
Search instead for 
Did you mean: 

How to refresh a web dynpro table

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member85655
Active Participant
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.