tree component some strange errors after apply filter on it and
try to add nodes in tree element after that.
errors at webix_debug.js at line 11919:
with error .length is undefined
if (this._filter_branch){ //adding during filtering
//we can't know the location of new item in full dataset, making suggestion
//put at end by default
var original_index = this._filter_branch[pid||0].length;
//put at start only if adding to the start and some data exists
if (!index && this.branch[pid||0].length)
original_index = 0;
this._filter_branch[pid||0] = webix.toArray(this._filter_branch[pid||0]);
this._filter_branch[pid||0].insertAt(obj.id,original_index);
}
there is any way to clear filters on tree ?
if filters is not used component works well