View Full Version : [FIXED] Beta 3 - TreeTable not updated when the model changes

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);

binder = new TreeTableBinder<BaseTreeModel>(table, store);


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.


PS. The values are updated but only if the item is child of the root's child.

20 May 2008, 5:53 PM
onModelChange was not implemented for TreeStore and ListStore. I have added the code and setep unit tests. TreeStore handles Add, Update, and Remove change events. ListStore handles the Update change event. Fix is in SVN.