I have a page where used wrapper class to combine the checkbox and status (picklist field). so whenever the status is changed to another value the check box automatically gets selected. so, now i want to make the row highlighted when there is a change in the status.
Here is part of the Code:
<apex:outputPanel id="panelWithVar">
<apex:variable value="{!0}" var="rowNumber" />
</apex:outputPanel>
<apex:form>
<apex:pageBlock>
<apex:pageBlockSection title="Case Update">
<apex:outputPanel>
<apex:outputLabel value="Case Type : Change" style="font-weight:bold" />
<br/>
<br/>
<apex:outputLabel value="Case Sub-Type :" style="font-weight:bold" for="type" />
<apex:selectList value="{!changeType}" size="1">
<apex:selectOptions value="{!subTypes}" />
<apex:actionSupport event="onchange" action="{!caseRecords}" rerender="ajaxRequest,panelWithVar" />
</apex:selectList>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock id="thePageblock">
<apex:pageBlockButtons>
<apex:commandButton value="Update" action="{!save}" reRender="thePage" status="updateStatus" />
<apex:commandButton value="Cancel" action="{!Cancel}" />
<apex:actionStatus id="updateStatus">
<apex:facet name="start">
<img src="/img/loading32.gif" />
</apex:facet>
</apex:actionStatus>
</apex:pageBlockButtons>
<apex:outputPanel id="ajaxRequest">
<apex:pageBlockTable value="{!wrapCaseList}" var="cseWrap" id="table" title="All Cases">
<apex:column id="theColumnOne">
<apex:inputCheckbox value="{!cseWrap.selected}" id="inputId" />
</apex:column>