Skip to main content
6-Contributor
February 20, 2024
Question

Change color of sort icon in Grid Widget

  • February 20, 2024
  • 1 reply
  • 798 views

Hi, 

I need to change the color of the sort icon of the Grid widget. Unfortunately, there is no style property for that, so I wanted to try it with CSS. I have ThingWorx Version 9.3.6.

VG_10732813_3-1708421992366.png

 

I tried this class: 

 

 

 

.GridClass .widget-ptcs-grid::part(sort-icon) {
color: red !important;
}

 

 

 

 

VG_10732813_1-1708420268155.png

VG_10732813_2-1708420282473.png

 

But this doesn't work for me. Could someone help me out?

 

The only help I found is this Article:

https://www.ptc.com/en/support/article/CS367980

But when I change the color of Labels in my Style Theme, all labels in my Application will change, that's not what I want.

I am looking for a CSS class that I can use on single grids.

 

Thank you!

1 reply

5-Regular Member
February 20, 2024

Hello @VG_10732813 , 

 

I have checked that this CSS is not applicable after 9.3 version of ThingWorx. You can only change in the theme directly. The mentioned article is only applicable for ThingWorx version lower than 9.3. Applying Custom CSS to sub-parts is not achievable from 9.3.0 version.

 

Thanks

Bhawna