on 08-18-2006 10:16 AM
Hi,
Im creating a node and its attributes dynamically and binding it to a table to show a table dynamically. The problem is that when i load a new item, i have to rebuild the node and table because it might have different columns. The node allways has 3 fixed columns (id, name, description) so first i have to remove all of the attributes except the id, name and description. Same for the table columns. Can anyone tell me how to remove attributes from a node or how to differently solve my problem? All i see is how to remove an element but is a data right, not the model?
Much thanks,
Hugo Hendriks
Hi,
I had a similar situation, where 2 table columns were always present, and the name and type of other columns were only available runtime.
I simply deleted all data (invalidate()) and recreated the context from scratch after each model execution that impacts the table structure.
Otherwise, use the API to find the right methods for deleting Nodes and Elements.
https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/index.html
Good luck,
Roelof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.