filter displayed elements in treeview