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 -->
<script type="text/javascript">
$(function () {
$("#example1").dataTable();
$('#example2').dataTable({
"bPaginate": true,
"bLengthChange": false,
"bFilter": false,
"bSort": true,
"bInfo": true,
"bAutoWidth": false
$("#example1").DataTable();
$('#example2').DataTable({
"paging": true,
"lengthChange": false,
"searching": false,
"ordering": true,
"info": true,
"autoWidth": false
});
});
</script>