Skip to Content
0
Apr 16, 2008 at 06:38 AM

dynamic UIElements

8 Views

hi,

How can I refresh dynamically generated UIElements ?

suppose I have a container and few labels which corresponds to number of elements of a node // node.size(); Those are get populated if we give values for the first time. But when I go back and add/delete one element in the node, that is not reflected. (reason: if(firstTime) ).

I tried

container.removeAllChildren(); and

container.removeChild("label"); too.

But still it shows duplicate id error

please tell me how can the UIElements be refreshed ?

nikhiL