Skip to main content
1-Visitor
May 10, 2021
Solved

Can't align headings on Advanced Grid

  • May 10, 2021
  • 2 replies
  • 1436 views

Hello, I might just be missing something obvious but I am trying to change the alignment of the headers on an Advanced grid. The version of Thingworx I am using is 8.5.3 and I was able to change the text alignment of the data with this custom css:
.myAdvancedGridClass .objbox table tbody tr td{
text-align: center !important;
}

but I also want to change the alignment of the headings to match. Any help or insight is greatly appreciated. I was looking at the documentation for Thingworx 8 and I saw that header and cell text alignment is a feature so I might just not be seeing where I can change that.

Best answer by mgoel

@lspears 

 

Thanks for reaching out to us. Check below thread and let me know if it is helpful.

https://community.ptc.com/t5/ThingWorx-Developers/How-to-center-align-Grid-header-and-value-using-Style-Theme/m-p/645502

 

Regards,

Mohit

2 replies

mgoel5-Regular MemberAnswer
5-Regular Member
May 11, 2021

@lspears 

 

Thanks for reaching out to us. Check below thread and let me know if it is helpful.

https://community.ptc.com/t5/ThingWorx-Developers/How-to-center-align-Grid-header-and-value-using-Style-Theme/m-p/645502

 

Regards,

Mohit

lspears1-VisitorAuthor
1-Visitor
May 12, 2021

Thanks @mgoel !
That link was definitely helpful, I was able to get everything aligned how I wanted it.