Hi.
You can use a StoreFilter for this.
Take a look in its definition.
Basically, you just need to implement the select method.
Return true for the nodes you want to show, and false for the ones you want to hide.
Thanks. That works. Here's the code for others with the same problem.
StoreFilter<BaseTreeModel> storeFilter = new StoreFilter<BaseTreeModel>() {
@Override
public boolean select(Store<BaseTreeModel> store, BaseTreeModel parent, BaseTreeModel item, String property) {
Boolean render = item.get("render");
return render;
}
};
store1.addFilter(storeFilter);
store1.applyFilters(null);