Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Singapore
    Posts
    30
    Vote Rating
    0
    EvilKnight is on a distinguished road

      0  

    Default 'headerCt' is null or not an object Error

    'headerCt' is null or not an object Error


    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.1.0
    Browser versions tested against:
    • IE8
    Description:
    • Under ext-all-dev.js, under line 121695.
    • 'headerCt' is null or not an object Error
    Steps to reproduce the problem:
    • Having 2 tab item in the Tab Panel.
    • 1st Tab let it be empty tab.
    • 2nd Tab create a Grid Panel and render record together with Selection Model(CheckBox).
    • When load, select the Checkbox accordingly.

    The result that was expected:
    • Should select the Checkbox without prompting error.
    The result that occurs instead:
    • 'headerCt' is null or not an object Error

    HELPFUL INFORMATION
    Possible fix:
    • Edited ext.all-dev.js
    From
    var view = this.views[0]
    To
    if (this.views[0]) {
    var view = this.views[0]
    }
    else {
    var view = this.view
    }
    • Reason: if the 2nd tab not activated, it will not get the headerCt of it. But it still in somewhere which is in this.view

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Location
    Singapore
    Posts
    30
    Vote Rating
    0
    EvilKnight is on a distinguished road

      0  

    Default


    erm i think i posted in the wrong section. can any mod help me move to the bug section? lol

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,112
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Moved.

    Please provide a working example so we can be sure we are looking at the same issue.

    Regards,
    Scott.

Thread Participants: 1