Results 1 to 4 of 4

Thread: ctrl addConfig() how?

  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    137
    Vote Rating
    5
      0  

    Default Unanswered: ctrl addConfig() how?

    hi,

    trying to call in RT, and add config to my controller.
    Code:
    MyApp.controller.Edit.addConfig( {'editOthersList': { selectionchange: this.onOthersEditSelect } } );
    unfortunatelly not find addConfig param list, so added a new obj {}.

    eagle eyes?

  2. #2
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    137
    Vote Rating
    5
      0  

    Default

    hi,

    in other words: how can I refer to a controller?

    thx

  3. #3
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    137
    Vote Rating
    5
      0  

    Default

    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.

  4. #4
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    137
    Vote Rating
    5
      0  

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •