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,
|
treeEnable: true,
|
||||||
rootParentId: options.parent_id,
|
rootParentId: options.parent_id,
|
||||||
idField: 'pk',
|
idField: 'pk',
|
||||||
uniqueId: 'pk',
|
uniqueId: 'pk',
|
||||||
parentIdField: 'parentId',
|
parentIdField: 'parentId',
|
||||||
treeShowField: 'sub_part',
|
treeShowField: 'sub_part',
|
||||||
|
showColumns: true,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
search: true,
|
search: true,
|
||||||
rowStyle: function(row, index) {
|
rowStyle: function(row, index) {
|
||||||
|
Loading…
Reference in New Issue
Block a user