1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    1
    Vote Rating
    0
    donaj is on a distinguished road

      0  

    Default Overriding Ext.container.Container add function

    Overriding Ext.container.Container add function


    I am trying to override Container component:

    Code:
    Ext.container.Container.override({
         add : function () {
              this.callOverridden(arguments);
              console.log("container add");
         }
    everything seems to work fine, but when i try to create Ext.tab.Panel and add one Ext.panel.Panel like this:

    Code:
    var oTP = Ext.create("Ext.tab.Panel", {
         width: 100, 
         height: 100, 
         renderTo: "myDiv"
    });
    
    oTP.add(Ext.create("Ext.panel.Panel", {title: "Panel 0"}));
    it renders corectly but following error appears TypeError: Cannot read property 'disabled' of undefined.
    I tried to debug it and function setActiveTab triggers an error in line:

    Code:
    if (tab.disabled)

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    6
    Vote Rating
    1
    divide0 is on a distinguished road

      0  

    Default Ever get a solution to this?

    Ever get a solution to this?


    I just ran into the same problem. Did you ever get a solution to this?

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar