Merge pull request #882 from rishabhs95/events-datatable

enabling state save feature in datatables
This commit is contained in:
Christian Bruckmayer 2016-03-15 16:38:54 -06:00
commit dcdceb7c6d

View file

@ -2,6 +2,7 @@ $(function () {
$(document).ready(function() {
$('.datatable').DataTable({
// ajax: ...,
stateSave: true,
autoWidth: false,
pagingType: 'full_numbers',
"lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]