Finalize nested recipes / group recipe positions feature (closes #77)

This commit is contained in:
Bernd Bestel
2018-10-27 10:37:31 +02:00
parent 3e6cf545d7
commit da98efa833
7 changed files with 30 additions and 9 deletions

View File

@@ -17,8 +17,10 @@
var recipesPosTables = $('#recipes-pos-table').DataTable({
'paginate': false,
'order': [[1, 'asc']],
"orderFixed": [[4, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }
{ 'orderable': false, 'targets': 0 },
{ 'visible': false, 'targets': 4 }
],
'language': JSON.parse(L('datatables_localization')),
'scrollY': false,
@@ -32,6 +34,9 @@ var recipesPosTables = $('#recipes-pos-table').DataTable({
{
column.search.search = "";
});
},
'rowGroup': {
dataSrc: 4
}
});