Skip to main content
16-Pearl
Apr 25, 2023 1:25 PM UTC
Solved

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?

 

wcuiAnswer
16-Pearl
Apr 27, 2023 2:47 AM UTC

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

 

1 reply

wcui16-PearlAnswer
16-Pearl
Apr 27, 2023 2:47 AM UTC

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

 
Translate