sync
This commit is contained in:
@ -1116,7 +1116,7 @@ class Grid {
|
||||
reset.innerText = this.langs.reset;
|
||||
reset.addEventListener('click', () => {
|
||||
this.#set(col.key, 'filter', null);
|
||||
// TODO: change __filtered
|
||||
this.#colAttrs.__filtered = this.columns.some(c => this.#get(c.key, 'filter') != null)
|
||||
this.#refreshSource();
|
||||
if (typeof col.onFiltered === 'function') {
|
||||
col.onFiltered.call(this, col);
|
||||
|
Reference in New Issue
Block a user