mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
add range datatable filter
This commit is contained in:
parent
04a92124b0
commit
6efd1a65ff
10 changed files with 101 additions and 29 deletions
|
|
@ -27,7 +27,7 @@ $(document).ready(function() {
|
|||
filters: poolsFilter,
|
||||
filterMenuKey: 'pools',
|
||||
columnIndex: POOL_COLUMN_INDEX
|
||||
});
|
||||
}).init();
|
||||
}
|
||||
|
||||
const addMeasurementFilter = (tableAPI) => {
|
||||
|
|
@ -532,8 +532,8 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
const $amTable = $("#am-table").DataTable(dtConfig);
|
||||
addMeasurementFilter($amTable);
|
||||
addAlertedFilter($amTable);
|
||||
addMeasurementFilter($amTable).init();
|
||||
addAlertedFilter($amTable).init();
|
||||
|
||||
$('#am-table').on('click', `a[href='#am-edit-modal']`, function(e) {
|
||||
const amData = getAmData($amTable, $(this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue