Skip to content

Commit

Permalink
Datatables, examples, switching to the new 1.10 API.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantcholakov committed Jun 7, 2015
1 parent 8ae58fe commit 1e096c9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pages/tables/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -1527,14 +1527,14 @@ <h3 class="control-sidebar-heading">Chat Settings</h3>
<!-- 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>
Expand Down

0 comments on commit 1e096c9

Please sign in to comment.