Skip to content

Commit

Permalink
Merge pull request #491 from ivantcholakov/master
Browse files Browse the repository at this point in the history
Datatables, examples, switching to the new 1.10 API.
  • Loading branch information
almasaeed2010 committed Jun 7, 2015
2 parents 8ae58fe + 1e096c9 commit e8553fd
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 e8553fd

Please sign in to comment.