Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
775
Question regarding setting the active row in a gridrow to "transparent"
posted

In Appstylist I created a new style set. I chose to create the style set from scratch, not based on any existing ISL file and not using any themes. For a gridrow, when the row is active, I want the background color to be transparent. I specify this in my style set. The issue I'm having is that in my grid, I'm coloring specific cells programmatically based on certain conditions and the transparent background color is masking over the colors I've set programmtically. For instance, if a part in my parts list grid row has an issue, I color the part cell red. When the user goes a click on the row and makes it active, the red color goes away and becomes white. I really need to have the red color show through so that the user can still tell that the item has an issue when the row is active. In the application I'm working on, several columns in the row could have different colors based on certain conditions and the user loses this information when the row is clicked on. Setting the Selected state background color to transparent for the gridrow did not fix this issue either. Any suggestions?

Thanks!

Steve

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Steve,

    When you color the cell red, you should also set the cell.SelectedAppearance - in addition to the cell.Appearance. That way, the cell will use the same color whether it is selected or not.

Reply Children