function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How do i get to onmouseover event for a table row or similar behavior?

for example how the row heightlight works for a pageBlockTable. if i am using a dataTable instead and I want the same or a border to appear around the entire row when you mouse over the row. i can put a onmouseover on a element in a column.



You can use onmouseover event in columns of datatable or you have onRowMouseOver event directly on data table tag.

Hope this solves your query


This sample code is for onmouseover event work at one column of the datatable to call contact detail page along with actionstatus :


               <apex:column >

               <apex:facet name="header">Name</apex:facet>

                <apex:actionSupport event="onmouseover" rerender="detail" status="ss">

                 <apex:param value="{!}"/>




                <apex:actionStatus startText="Requesting...">


                                      <apex:image url="{!$Resource.Spinner}" alt=""/>

                                         <apex:detail subject="{!$CurrentPage.parameters.cid}" relatedList="true" title="false"/>





Hope this helps.