Merge pull request #882 from rishabhs95/events-datatable
enabling state save feature in datatables
This commit is contained in:
commit
dcdceb7c6d
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ $(function () {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.datatable').DataTable({
|
$('.datatable').DataTable({
|
||||||
// ajax: ...,
|
// ajax: ...,
|
||||||
|
stateSave: true,
|
||||||
autoWidth: false,
|
autoWidth: false,
|
||||||
pagingType: 'full_numbers',
|
pagingType: 'full_numbers',
|
||||||
"lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]
|
"lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue