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
Walter@AdicioWalter@Adicio 

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.

sinsiterrulezsinsiterrulez

Hi,

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

Hope this solves your query

Pradeep_NavatarPradeep_Navatar

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="{!contact.id}"/>

                </apex:actionSupport>{!contact.Name}

            </apex:column>                                 

            <apex:outputPanel>

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

                                <apex:facet>

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

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

                                 </apex:facet>

               </apex:actionStatus>

            </apex:outputPanel>

 

Hope this helps.