cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro dynamic Table problem

bernd_speckmann
Contributor
0 Kudos

Hi,

I have created a Web Dynpro Table dynamically in my view (wdDoModifiyView) based on some dynamic created context nodes. (CE 7.11)

Now I want to recreate the table everytime the context nodes changes. I think first I have to destroy the existing tables and after that I could recreate them.

Can anybody please give me an example or tell me how to do so?

Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192152
Active Participant
0 Kudos

Hi Bernd,

try remove columns of that table and use the same table.


	table.removeAllColumns();

or


	table.removeColumn(0);

or


	table.removeColumn("name");

regards,

Angelo

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can use the destroyAllChildren to remove the existing UI and create them again.

- Saravanan K

bernd_speckmann
Contributor
0 Kudos

Thanks,

but IMHO it is only possible for a container. How can I destroy a single table using its ID within a container?

Bernd