PDA

View Full Version : [FIXED] ComboBox minChars not working w/ subclass



hschaefer123
29 Sep 2010, 8:50 AM
Collection of problems/bugs

1) Properties like "readOnly" could not be set for linked classes (in this case comboBox)!
You can set this porperty inside the class but not inside the refering class.

2) minChars comboBox Property does not work on linkes Classes

generated UI code is
Eaton.fo50.vh.DdicUi = Ext.extend(Ext.form.ComboBox, {
displayField: 'display',
forceSelection: true,
triggerAction: 'all',
mode: 'local',
typeAhead: true,
valueField: 'keyword',
initComponent: function() {
this.initialConfig = Ext.apply({
minChars: 1,
queryDelay: 500
}, this.initialConfig);
Eaton.fo50.vh.DdicUi.superclass.initComponent.call(this);
}
});

3) Sometimes addtional properties like CSS are not visible/accessible for Ext.list.NumberColumn but are visible for Ext.list.Column?

Best wishes,
Holger

jarrednicholls
30 Sep 2010, 7:19 AM
Thanks Holger for reporting these issues!

1) Currently linked classes only have layout-based attributes as well as "Common" attributes available to them. Full property overriding is not currently supported, but this may change in the near future. So, this is by design, not a bug.

2) I have confirmed this issue and am opening a ticket for it now. The same issue occurs with queryDelay.

3) I am not so sure about this one...what properties specifically? cls?

Thanks,
Jarred