mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Allow column show/hide on BOM table
This commit is contained in:
parent
41c4a5376b
commit
0aeb7ddbdf
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user