Allow column show/hide on BOM table

This commit is contained in:
Oliver Walters 2020-08-20 08:57:11 +10:00
parent 41c4a5376b
commit 0aeb7ddbdf

View File

@ -312,13 +312,14 @@ function loadBomTable(table, options) {
)
}
table.bootstrapTable({
table.inventreeTable({
treeEnable: true,
rootParentId: options.parent_id,
idField: 'pk',
uniqueId: 'pk',
parentIdField: 'parentId',
treeShowField: 'sub_part',
showColumns: true,
sortable: true,
search: true,
rowStyle: function(row, index) {