The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
Hi,
How to dynamically create and add things to tree control? Can anyone please post an example?
Hi Raj,
Take a look at the section of the wiki entitled, "Clone, Create and Delete Things." You'll likely need a Service to create Things from your Mashup and then the Service that is populating your Tree widget will need to be executed whenever you create a new Thing. The easiest way to do this would be to use the
ServiceInvokeCompleted
Event of the Service creating Things to execute the Service that is returning a list of Things.Thanks,
Adam