extjs4 - Extjs 4 Loading a view from controller 2 -
continuing question here: extjs 4 mvc loading view controller how load created view viewport?
here did:
this.getviewportcontent().insert(ext.widget('templatecategorycreate')); where getviewportcontent() returns wanted add view to, not work. error was:
uncaught typeerror: cannot call method 'substring' of undefined
and answer simple as:
this.getviewportcontent().add(ext.widget('templatecategorycreate'));
can't believe had debug whole extjs trace this...
Comments
Post a Comment