Hi All, This post is regarding for adding style sheet on a particular table row. Here I am sharing some example where table row is yellow,if account Type is Prospect. This is my page <apex:page controller="conditionalStyleController"> <apex:form > <apex:pageBlock title="Accoiunt Table"> <apex:pageBlockTable value="{!listOfAccounts }" var="account"> <apex:column value="{!account.Name}" style="{!if(account.Type='Prospect','background-color:yellow;', 'color:black')}"/> ...
A place where you have to land for exploring Salesforce