mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
Added bootstrap table 'filter-control' extension to use in parametric tables
This commit is contained in:
@ -210,6 +210,8 @@ function loadParametricPartTable(table, options={}) {
|
||||
field: header,
|
||||
title: header,
|
||||
sortable: true,
|
||||
filterControl: 'input',
|
||||
clear: 'fa-times icon-red',
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -226,6 +228,7 @@ function loadParametricPartTable(table, options={}) {
|
||||
columns: columns,
|
||||
showColumns: true,
|
||||
data: table_data,
|
||||
filterControl: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user