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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

fixing wrapping texts in treegrid through configuration json

AP_10343008
13-Aquamarine

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