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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Tree grid advanced - code generated config

ZbigniewK
11-Garnet

Tree grid advanced - code generated config

I have service, which results with Infotable. Format of infotable is:
{ name: string; station1: integer; station2: integer}
I present this infotable in mashup with tree grid advanced. I can get into widget configuration & change title for columns, so at the top row it will show it like: time, Ast10 Ast20.
But I would like to have it dynamically changed. So, if I use mashup with parameter A, I would like to have there text Ast20, but with parameter B, I would like to have there BAC. I thought about making a service, and add result of this service as a source for configuration.
But how string for configuration should be formatted, so both (or even all three) columns will have titles generated by code? Or maybe there's other way to cope with that?

 

ZbigniewK_1-1705914572772.png

ZbigniewK_2-1705914610799.png

ZbigniewK_3-1705914679169.png

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

Found ready-to-use script in examples deliveried by TWX, whole documented at:
Working with a Configuration Service (ptc.com)

View solution in original post

1 REPLY 1

Found ready-to-use script in examples deliveried by TWX, whole documented at:
Working with a Configuration Service (ptc.com)

Announcements


Top Tags