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
RuchieRuchie 

How to get the rowIndex of the Selected Row in a Visualforce DataTable

Hi All,
Can somebody help me, how to get the rowindex of a selected row in a datatable. Though, we have an event, but how to get the index out of it..
 
<apex:dataTable id="dt1" onRowClick=""  value="{!conlist}"  var="a" />
 
Please reply.