View Full Version : Update event on TreeStore

8 Apr 2014, 9:52 PM
Hi all,

Maybe someone could point me what Im missing.

If a set a value on a node of a tree store, say like this:

store.getRootNode().firstChild.set('text','My test');

It fires update event on 4.2.1 but not on 4.1.1.

What Im missing?

How to catch changes on 4.1.1?

Just to prove the problem I've created a fiddle, it works with 4.2.1 and 4.2.0 but not with 4.1.1


9 Apr 2014, 4:54 AM
Ok, I figure out and for me it's a bug.

The TreeStore on Ext below 4.2.0 doesn't call Ext.data.Model.join (http://docs.sencha.com/extjs/4.1.1/#!/api/Ext.data.Model-method-join).

So I solve it by calling it my self on TreeStore append, insert and remove events when Ext is below 4.2.0.