cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically creating and adding things to tree control

Level 1

Dynamically creating and adding things to tree control

 

Hi,

How to dynamically create and add things to tree control? Can anyone please post an example?

 

1 REPLY 1

Dynamically creating and adding things to tree control

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