I am displaying a PageBlockTable with 12 records from a Custom object. And each <apex:column>
has its own color code rendered based on the value.
<apex:column headerValue="Field One" width="4%"
styleClass="{!CASE(a.Field1__c, 'Red', 'red', 'Green', 'green', 'Yellow', 'yellow', 'white')}">
<apex:outputText >{!a.Field1__c}</apex:outputText>
</apex:column>
But, when my mouse pointer hover on any of the rows, it disables all the colors and show a plain white row. But, I want the row to stay how it rendered(different color codes to each table data). Is there any Boolean
variable I need to make false
or other attributes to add/change?
<tr class="dataRow even first highlight .....
when I mouse hover on any of the rows. It changes dynamically. How can I get a hold of it? How to make it not to switch between highlight and non-highlight?highlight
keeps on changing dynamically on my mouse movement, I cannot inspect the right attribute. :(