mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Pre-collapse grouped columns
This commit is contained in:
parent
4218cf8b45
commit
7120b940f0
@ -176,6 +176,9 @@
|
|||||||
html.push('</tr>');
|
html.push('</tr>');
|
||||||
|
|
||||||
if(item.data.length > 1) {
|
if(item.data.length > 1) {
|
||||||
|
|
||||||
|
that.$body.find('tr[data-parent-index=' + item.id + ']').addClass('hidden');
|
||||||
|
|
||||||
that.$body.find('tr[data-parent-index=' + item.id + ']:first').before($(html.join('')));
|
that.$body.find('tr[data-parent-index=' + item.id + ']:first').before($(html.join('')));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user