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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

fixing wrapping texts in treegrid through configuration json

AP_10343008
15-Moonstone

fixing wrapping texts in treegrid through configuration json

I am passing configuration json to treegrid. For the html basetype columns, "overflow": "fitted" field is not working. so texts inside every cell of grid is not wrapping. How to fix this. 

How to add wrapping in html basetype columns or css of grid?

 

ACCEPTED SOLUTION

Accepted Solutions

Please download the XML file of " Grid Advanced Example Entities" from below link and import to your Thingworx instance.

https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html

 

Then find thing <GridAdvancedExampleServices>, check code of service <GetEmployeeRoleBasedConfiguration> and you can see below content.

Please modify your Json settings accordingly.

wcui_0-1682563418997.png

 

 

For more details, refer to below section.

https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGrids.html#https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/Grid_ConfiguringtheGridUsingJSONData.html

 

View solution in original post

1 REPLY 1

Please download the XML file of " Grid Advanced Example Entities" from below link and import to your Thingworx instance.

https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html

 

Then find thing <GridAdvancedExampleServices>, check code of service <GetEmployeeRoleBasedConfiguration> and you can see below content.

Please modify your Json settings accordingly.

wcui_0-1682563418997.png

 

 

For more details, refer to below section.

https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGrids.html#https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/Grid_ConfiguringtheGridUsingJSONData.html

 
Announcements


Top Tags