Change in defining column data types
-
Hello!
Previously, I would define my columns’ data types with these custom commands:
"columns": [ { "type": "num" }, { "type": "date" }, { "type": "html"}, null, {"type": "num"} ]
I recently noticed that tables I set up years ago were no longer sorting properly. Per this documentation, I rewrote the above command to as follows:
"columnDefs": [ { "type": "num", "targets": [0,4] }, { "type": "date", "targets": [1] }, { "type": "html", "targets": [2] } ]
The table is now sorting properly.
When did this change become necessary? Do I need to update all my tables accordingly?
-Ken
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change in defining column data types’ is closed to new replies.