Hi,It is possible to remove the highlighting of certain specific rows when hovering with the mouse in a grid according to the information entered in the row tag ?Best regards
Hi,I solved my problem by creating a specific styleset where I removed the setting regarding row highlighting.I then called this styleSet from my grid to override the default style established by our style library and it now works fine.Thanks for your help
Hi, I found the prolem.
This is indeed from our style library which contains the following settings:
<style role = "GridRow"> <states> <state name = "Normal" backColor = "White" borderColor = "223, 231, 237" fontName = "Arial" fontSize = "8" backGradientStyle = "None" backHatchStyle = "None" /> <state name = "Selected" backColor = "254, 209, 112" foreColor = "Black" fontName = "Arial" imageBackgroundStyle = "Stretched" fontSize = "8" backColor2 = "250, 162, 25" backGradientStyle = "Vertical" /> <state name = "HotTracked" backColor = "250, 231, 191" fontName = "Arial" imageBackgroundStyle = "Stretched" fontSize = "8" backColor2 = "254, 196, 84" backGradientStyle = "Vertical" /> <state name = "Active" fontName = "Arial" fontSize = "8" /> <state name = "AlternateItem" backColor = "234, 243, 249" fontName = "Arial" fontSize = "8" backGradientStyle = "None" backHatchStyle = "None" /> </states> </style>
It is the setting of the "HotTracked" state that creates this highlight.Is it possible to remove this setting for a specific grid without touching our style library?
Hi,Yes you are right, when I create a simple program with a WinGrid I do not have this highlight under the mouse. I'll try to see, in our program, what creates this highlight under the mouse. Maybe something in our app's style library.If I send you our style library, do you think you can find what creates this highlight?Thank you in advance
.5822.bdocStyle.txt
It's hard to tell, from a screenshot, what object that is. And so it's therefore also difficult to tell you how to turn that off. My best guess here is that it's a card view header? Or maybe a GroupByRow. Or it could just be a cell in a row using RowLayouts. Without knowing what that is, we can't give you good advice on what properties settings to look for.
Hi,It's weird because we have the same behaviour on all the grids that we use in our product. Isn't there an option that handles this highlighting?