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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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

adityak506
7-Bedrock

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!

 

1 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.

Top Tags