javascript - Ext.Create and this.callParent -
how can use ext.create
, this.callparent
together? if use following code errors retrieving data ajax store.
items: [ { xtype: 'combo', initcomponent: function() { ... this.callparent(arguments); } } ]
any suggestions?
the callparent
docs say:
call "parent" method of current method. method overridden derivation or override (see ext.define).
in other words, callparent within ext.define
or ext.override
; not when override method in config.
what important understand initcomponent
not meant overridden config. should extend combo
class , override initcomponent
there.
Comments
Post a Comment