function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<div class="body">
<div class="table-responsive">
<apex:variable var="index" value="{!0}" />
<table class="table table-bordered table-striped table-hover js-basic-example dataTable">
<thead>
<tr>
<th>Name</th>
<th>Course</th>
<th>Additional Course</th>
<th>Approved</th>
<th>Action</th>
</tr>
</thead>
<tbody id ="factable">
<apex:repeat value="{!facultylist}" var="fac" id="theRepeat" >
<tr>
<td><apex:outputField value="{!fac.Name}" id="Name"/></td>
<td><apex:outputField value="{!fac.Course_details__c}" id="Course"/></td>
<td><apex:outputField value="{!fac.Additional_Course__c}" id="ADDCourse"/></td>
<td><apex:outputField value="{!fac.Is_Approved__c}"/></td>
<td>
<a onClick="GetIndex( {!index} ) ;">
<i class="material-icons" style = "color:#2196f3" title="view">remove_red_eye</i>
</a>
</td>
</tr>
<apex:variable var="index" value="{!index + 1}" />
</apex:repeat>
</tbody>
</table>
</div>
</div>
You will have to get the populate the value of repeat tag('facultyList' in this case) with the data you require by querying that data in the apex controller class.
Can you please elaporate, like what functionality are you trying to achieve perhaps then i could be of better help.