axeldxter
20 May 2008, 2:16 PM
Hi. My problem is that I change the values of a BaseTreeModel that is loaded into a TreeStore and then is binded to a TreeTableBinder. This is the code:
loader = new BaseTreeLoader(new TreeModelReader());
store = new TreeStore<BaseTreeModel>(loader);
store.setMonitorChanges(true);
binder = new TreeTableBinder<BaseTreeModel>(table, store);
binder.setCaching(false);
loader.load(model);
After that, I change the values of some items of the model but the TreeTable is never updated. I don't exactly know if this is a bug.
Thanks
PS. The values are updated but only if the item is child of the root's child.
loader = new BaseTreeLoader(new TreeModelReader());
store = new TreeStore<BaseTreeModel>(loader);
store.setMonitorChanges(true);
binder = new TreeTableBinder<BaseTreeModel>(table, store);
binder.setCaching(false);
loader.load(model);
After that, I change the values of some items of the model but the TreeTable is never updated. I don't exactly know if this is a bug.
Thanks
PS. The values are updated but only if the item is child of the root's child.