mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Pre-collapse grouped columns
This commit is contained in:
parent
4218cf8b45
commit
7120b940f0
@ -176,6 +176,9 @@
|
||||
html.push('</tr>');
|
||||
|
||||
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('')));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user