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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -