elmasse
27 Jun 2011, 3:46 PM
datachanged event is fired up from 9 different places. The API Doc says that its signature is as follows:
datachanged : ( Ext.data.Store this )
But, there are a couple places where datachanged is fired with:
1) no arguments
class: Ext.data.Store
method: onProxyWrite
this.fireEvent('datachanged');
2) more arguments
class: Ext.data.Store
method: loadRecords
this.fireEvent('datachanged', this, records);
It is important to keep in mind that events must be consistent through the whole code.
Regards,
Max
datachanged : ( Ext.data.Store this )
But, there are a couple places where datachanged is fired with:
1) no arguments
class: Ext.data.Store
method: onProxyWrite
this.fireEvent('datachanged');
2) more arguments
class: Ext.data.Store
method: loadRecords
this.fireEvent('datachanged', this, records);
It is important to keep in mind that events must be consistent through the whole code.
Regards,
Max