Skip to content

Commit

Permalink
370b531dedecf8e49d69ae4beee002af04c57d57 New: Support for state resto…
Browse files Browse the repository at this point in the history
…ring when columns have been reordered, added to or removed. This requires that `-init columns.name` be set to allow a column to be uniquely identifies. If it is not set then column state will not be loaded if the number of columns in the table changes (i.e. similar to 2.1-).

Updated: State restore will still attempt to restore the state for paging, page length and search, even if the number of columns has changed.

Updated: The state object now includes a `name` property for the `columns` array and if a column name is set, in the sorting array.

Sync to source repo @370b531dedecf8e49d69ae4beee002af04c57d57
  • Loading branch information
dtbuild committed Dec 20, 2024
1 parent 6558d40 commit b5ca76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.1.8",
"last-sync": "e027f372c436a79d941e781218d6f65f4c8ede87"
"last-sync": "370b531dedecf8e49d69ae4beee002af04c57d57"
}

0 comments on commit b5ca76b

Please sign in to comment.