-
20 Sep 2012 4:16 AM #1
Unanswered: ctrl addConfig() how?
Unanswered: ctrl addConfig() how?
hi,
trying to call in RT, and add config to my controller.
unfortunatelly not find addConfig param list, so added a new obj {}.Code:MyApp.controller.Edit.addConfig( {'editOthersList': { selectionchange: this.onOthersEditSelect } } );
eagle eyes?
-
23 Sep 2012 11:27 PM #2
hi,
in other words: how can I refer to a controller?
thx
-
24 Sep 2012 12:15 AM #3
hi there,
with firefox debugger, there addConfig(), but it cannot be found in the documentation: http://docs.sencha.com/ext-js/4-1/#!...app.Controller (it shows 4.1.2 in header), I have 4.1.1 installed. Online docs having addListener(), my has addConfig(), which is not covered by docs.
is there anybody can help me what is the parameter list of this addConfig() method?
Adding a simple listener to tab itseft, it is not working. That's why I am looking for this.
-
24 Sep 2012 6:18 AM #4
by checking Class.js and Base.js the param list is addConfig( configObj, mergeListBool);
Can anyone tell me is this looks correct?
MyApp.controller.Edit.addConfig( { 'editOthersList': { selectionchange: this.onOthersEditSelect } }, true );
thx


Reply With Quote