Skip to main content
19-Tanzanite
January 23, 2020
Solved

How to center align Grid header and value using Style Theme

  • January 23, 2020
  • 3 replies
  • 3402 views

Hello all,

 

How to center align Grid Header and Value using style theme

 

/VR

Best answer by slangley

Hi @Velkumar.

 

Several changes were made affecting widgets in ThingWorx 8.5.1.  It is recommended that you upgrade (the latest release is now 8.5.4).

 

If you still have issues after upgrading, you may need to look at using CSS to address your issue.

 

Regards.

 

--Sharon

3 replies

1-Visitor
January 23, 2020

Hi @Velkumar 

 

May be that topic help you:

 

https://community.ptc.com/t5/ThingWorx-Developers/Alignmente-Value-Display-Twx-8-5-1/td-p/644061

 

Regards

Leonardo

Velkumar19-TanzaniteAuthor
19-Tanzanite
January 23, 2020

Hi @einsfeldleo ,

 

Thanks for your response.

I tried it gridadvanced widget, it doesn't work.

 

/VR

Support
February 13, 2020

Hi @Velkumar.

 

From our testing, we're not seeing an issue.  If you select the grid, in the upper-left corner is a drop-down.  From there you should select Configure Grid Columns.  You then have the ability to align the header or the data.

 

Please let us know if you're still having issues.

 

Regards.

 

--Sharon

Velkumar19-TanzaniteAuthor
19-Tanzanite
February 14, 2020

Hi @slangley 

 

Thanks for your response. I have mapped configuration dynamically, so I'm not able to find 'ConfigureGridColumns ' in widget.

 

1.png

 

In configuration, I have mentioned 'textAlignment' as center

 

Velkumar_0-1581654346378.png

 

Still header and text are not aligned

Velkumar_1-1581654394312.png

 

/VR

 

Support
February 14, 2020

Hi @Velkumar.

 

Which version of ThingWorx are you running?

 

Regards.

 

--Sharon

Support
February 26, 2020

Hi @Velkumar.

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon