PDA

View Full Version : CheckBoxCell in TreeGrid Listener



gte619n
11 Oct 2014, 6:59 AM
Hello all,

I was wondering if anyone had found a solution to listen for check box events inside a TreeGrid? My model is updated as expected, but StoreRecordChange event never seems to get called.

Is there a way to do this?

Thanks!

E

Andreas Samjeske
13 Oct 2014, 1:52 AM
Take a look at Store.addChange(...) method:
StoreRecordChangeEvent is fired only if isAutoCommit is flase. On commit(true) StoreUpdateEvent gets fired.
If isAutoCommit is true, StoreUpdateEvent gets fired right away on changes to store.

gte619n
13 Oct 2014, 6:01 AM
Ah perfect. That's it, thanks.