Datatables - pagination and filtering not working when img tags are used -
say example have table img
tags inside:
<table class="table table-responsive table-striped table-hover" id="my-table"> <thead> <tr> <th>name</th> <th>icons</th> </tr> </thead> <tbody> <tr> <td>some name</td> <td> <a href="#"><img src="some.png"></a> </td> </tr> </tbody>
and in js:
$('#my-table').datatable({"ordering": false});
when there lots of table rows, pagination nor filtering input field show up. , table rows appear in same page.
table works fine without img
tags.
i'm using datatables.bootstrap.min.js
jquery.datatables.min.js
Comments
Post a Comment