Skip to main content
1-Visitor
Nov 16, 2020 9:57 AM UTC
Solved

How to avoid that hovering the mouse on grid rows changes the style of the row?

When a line is hovered in a Grid widget, the style that is set in the "RowFormat" property is ignored and a different style is applied.
The one that is used is set in the "Style Properties" tab of the widget and, on all of them, by default, is the Style Definition: DefaultRowHoverStyle.
 
This causes weird behaviours because of the different font size between both styles.
 
I do not know if it is possible but I think that the best solution would be to disable the style modification for hovering lines in grids. I could not find a way to do it, but maybe you know a way to do so.
 
In case you wonder, I am using ThingWorx 8.5.8-b414
 
Thanks for your help!
5-Regular Member
Nov 18, 2020 5:45 PM UTC

Hello @GP_9630672 ,

 

Have you tried to remove the RowHoverStyle (Style Properties) and select a different Style or create a New Custom Style ?

 

Hope it helps,

2 replies

5-Regular Member
Nov 18, 2020 5:45 PM UTC

Hello @GP_9630672 ,

 

Have you tried to remove the RowHoverStyle (Style Properties) and select a different Style or create a New Custom Style ?

 

Hope it helps,

Translate
1-Visitor
Jan 18, 2021 10:32 AM UTC

I was looking for a way to modify all the grids but yeah, it works. I just have to modify tens of them...

Thanks!

Translate