You this:
//add the below reference
https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css
https://cdn.datatables.net/1.10.19/css/dataTables.jqueryui.min.css
https://code.jquery.com/jquery-3.3.1.js
https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js
https://cdn.datatables.net/1.10.19/js/dataTables.jqueryui.min.js
$(document).ready(function() {
$('#customertable').DataTable();
} );
Name | Address | Phone Number |
---|
Vivek Chaudhary | IN | 1234567890 |
Vivek Chaudhary | IN | 1234567890 |
//bind the data to table with mvc code dynamically.