Tree, Sidebar , filter for each item.

Hi,

Why in this snippet code https://snippet.webix.com/u8hl4eif, when i try to filter the tree, only get first levels items of tree, subitems not show in the filter

ready:{
$$("top:menu").filter(function (obj) { 
                
               console.log(obj.id);
               return true;
 });

}

I need iterate in custom filter for each item, hidding or showing by condition.

Thanks in advance.

I, found why, but i dont understand, if i configure

filterMode: {
showSubItems: false
},

in sidebar, i get all items in filter.

Hello,

Please check the information here.