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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to get the id of the node expanded from the tree advanced grid widget

adityak506
10-Marble

How to get the id of the node expanded from the tree advanced grid widget

Hi,

I am getting the structure from api initially for 3 levels in the tree advanced grid widget. Now, I want to pass the expanded node Id to other service (getting data from api) which is fetching data for 1 levels only and this service, I will bind to child data in the tree advanced grid widget. I tried Selected row, but here if I am selecting the row then only id is getting passed to other service. How to pass the id of the last level selected node to child service to fetch the details.

 

Please let me know how to achieve this!

 

ACCEPTED SOLUTION

Accepted Solutions

Hello @adityak506,

 

There's a rather complex API for that, but it's possible to expand the advanced tree level by level, loading children dynmically. All details are in Help: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FMashup_Builder%2FWidgets%2FWorkingWithTreeGridData.html%23wwID0EOXU4

 

Regards,
Constantine

View solution in original post

3 REPLIES 3

Hello @adityak506,

 

There's a rather complex API for that, but it's possible to expand the advanced tree level by level, loading children dynmically. All details are in Help: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FMashup_Builder%2FWidgets%2FWorkingWithTreeGridData.html%23wwID0EOXU4

 

Regards,
Constantine

Thanks Constantine for the reply! It works.

Thanks Constantine! It works now reading after the article you have shared.

Announcements


Top Tags