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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

fixing wrapping texts in treegrid through configuration json

AP_10343008
12-Amethyst

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
wcui
14-Alexandrite
(To:AP_10343008)

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
wcui
14-Alexandrite
(To:AP_10343008)

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

 
Top Tags