I am using Bootgrid to display data in tables: http://www.jquery-bootgrid.com/
When I set the rowSelect
to true
, I can't select the row when I check the checkbox:
I have created a JSFiddle: https://jsfiddle.net/n2jqjtep/1/
<table id="employeeList" class="table table-bordered">
<thead>
<tr>
<th data-column-id="iEmployeeId" data-type="numeric" data-visible="false" data-identifier="true">Id</th>
<th data-column-id="sName">Name</th>
<th data-column-id="sAddress">Address</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>dsa</td>
<td>asd</td>
</tr>
<tr>
<td>2</td>
<td>sss</td>
<td>assd</td>
</tr>
</tbody>
</table>
And this is the JavaScript:
var dt = $('#employeeList').bootgrid({
selection: true,
rowSelect: true,
converters: {},
});
I want to select the Row when the checkbox is checked.