Datatables, examples, switching to the new 1.10 API.

pull/491/head
Ivan Tcholakov 2015-06-07 05:10:41 +03:00
parent 8ae58fe1f6
commit 1e096c9eec
1 changed files with 8 additions and 8 deletions

View File

@ -1527,14 +1527,14 @@
<!-- page script --> <!-- page script -->
<script type="text/javascript"> <script type="text/javascript">
$(function () { $(function () {
$("#example1").dataTable(); $("#example1").DataTable();
$('#example2').dataTable({ $('#example2').DataTable({
"bPaginate": true, "paging": true,
"bLengthChange": false, "lengthChange": false,
"bFilter": false, "searching": false,
"bSort": true, "ordering": true,
"bInfo": true, "info": true,
"bAutoWidth": false "autoWidth": false
}); });
}); });
</script> </script>