mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Fix/Workaround for DataTables ColReorder bug with data-order attributes (fixes #2019)
This commit is contained in:
@@ -9,7 +9,7 @@ var shoppingListTable = $('#shoppinglist-table').DataTable({
|
||||
{ 'visible': false, 'targets': 6 },
|
||||
{ 'visible': false, 'targets': 7 },
|
||||
{ 'visible': false, 'targets': 8 },
|
||||
{ "type": "num", "targets": 2 },
|
||||
{ "type": "custom-sort", "targets": 2 },
|
||||
{ "type": "html-num-fmt", "targets": 5 },
|
||||
{ "type": "html-num-fmt", "targets": 6 }
|
||||
].concat($.fn.dataTable.defaults.columnDefs),
|
||||
|
Reference in New Issue
Block a user