I have a simple html table. I want another table2 to be showed only when I mouse hover on that table1 row. How to use Action support.
Please help below is my code,
Can you please help me out with my code. Below is my code..
apex:outputpanel >
<apex:actionSupport event="onmouseover" action="{!showSupplier}" rerender="SD1" status="counterStatus">
<table width="100%">
<tr>
<td width="50%">
First Table
</td>
</tr>
</table>
</apex:actionSupport>
<apex:actionSupport event="onmouseout" action="{!hideSupplier}"/>
</apex:outputpanel>
<apex:outputPanel id="SD1" >
<apex:outputPanel rendered="{!showSup}">
<table width="100%" border="0" >
<tr>
<th style="background-color:#e3e3d7;"> <b>Supplier Description </b></th>
</tr>
<tr>
<td >
Second Table
</td>
</tr>
</table>
</apex:outputPanel>
</apex:outputPanel>
<apex:actionStatus startText=" (incrementing...)" stopText=" (done)" id="counterStatus"/>
</apex:form>
ShowSupplier is a method in which I'm setting a boolean value to TRUE. AND in Constructor is false.