How to use Jquery DataTable with Runat='Server'

How to use Jquery DataTable with Runat='Server'

Ajay10994Ajay10994 Posts: 1Questions: 1Answers: 0

when i use Jquery DataTable in Asp.net Jquery DataTable not working

$(document).ready(function () { debugger; // Setup - add a text input to each footer cell $('#<%=example.ClientID%> tfoot th').each(function () { var title = $('#<%=example.ClientID%> thead th').eq($(this).index()).text(); $(this).html(''); }); // DataTable var table = $('#<%=example.ClientID%>').DataTable(); // Apply the search table.columns().every(function () { var that = this; $('input', this.footer()).on('keyup change', function () { that .search(this.value) .draw(); }); }); });
User Id UserName Education Location
User Id UserName Education Location
1 SureshDasari B.Tech Chennai
2 MadhavSai MBA Nagpur
3 MaheshDasari B.Tech Nuzividu
4 Rohini MSC Chennai
5 Mahendra CA Guntur
6 Honey B.Tech Nagpur
This discussion has been closed.