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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Change color of sort icon in Grid Widget

VG_10732813
5-Regular Member

Change color of sort icon in Grid Widget

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 1

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

Top Tags