cancel
Showing results for 
Search instead for 
Did you mean: 

How to refresh the table control on some action

Former Member
0 Kudos

Hi All,

In a web Dynpro application, I am filling data to the Table control through Supply function. When I do some action (like save new record ) i want to refresh the table control means add the newly added record.

How to refresh the Table control.

Thanks

Hemalatha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi hema........

if you are using a select query inside the supply function...

then...

you can just use node->invalidate(). method..

it just invalidates the node that is bound to the table.

so the supply function will be called again, which again uses the select query to fetch the values.. so that your table gets refreshed.

---regards,

alex b justin

Former Member
0 Kudos

Hi Alex,

Where i have to call the node->invalidate ? In the action where i am adding a new record. whether i should call in this method ?

Thanks

Hemalatha

Former Member
0 Kudos

hi hema.....

you should call it in the onaction method. that is were you need to refresh your table.

---regards,

alex b justin

Former Member
0 Kudos

Hi Alex,

Thanks a lot, my problem solved.

Thanks.

Hemalatha

Answers (0)