PDA

View Full Version : Order properties in Config-object



A.Tyshchyk
22 Nov 2012, 5:53 AM
Hi.
Is there any explaining of how the properties in config ordered when using extends?
For example I've extended from Fieldset


Ext.define('Ext.MyFieldSet', {
extend: 'Ext.form.FieldSet',
config: {
isCollapsed: true
},
updateIsCollapsed: function(newValue, oldValue) {
var title = this._title;
title.element.addCls('someCls')
}
});



Why the "setIsCollapsed" calls before "setTitle"?

Sorry, could you move it to Sencha Touch 2.x Forums (http://www.sencha.com/forum/forumdisplay.php?89-Sencha-Touch-2.x-Forums)