1. #21
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,545
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    Sounds like the id you are passing does not exist.

  2. #22
    Sencha User
    Join Date
    Jun 2012
    Location
    Virginia, USA
    Posts
    40
    Vote Rating
    1
    rtirbany is on a distinguished road

      0  

    Default


    Sounds that way, but it's unclear. This value was generated by the framework (it's a string, begins w/ 'ext-gen####') for the new tab being selected (set as active tab). What's unclear is that it's displayed, though I can't find the id in the DOM, and Ext.getCmp on it doesn't work against the id either.

    Examining the DOM, I see in the treepanel (containing the tab hierarchy), the below for the selected tab:

    HTML Code:
    <tr class="x-grid-row  x-grid-tree-node-leaf x-grid-row-selected">
    <td class="x-grid-cell-treecolumn x-grid-cell x-grid-cell-treecolumn-1125  x-grouptab x-inactive-group x-grid-cell-first">
    <div class="x-grid-cell-inner " style="text-align: left; ;">
    <img src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" 
    class="x-tree-elbow-empty">
    <img src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" 
    class="x-tree-elbow">
    <img src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" 
    class="x-tree-icon x-tree-icon-leaf ">Camaro</div>
    </td>
    </tr>
    Cmp is set to 'ext-gen####', but doing a search via getCmp yields nothing (could it be a deferredRender issue/fix?)
    Doing getCmp on the id for the grouptabpanel brings in the grouptabpanel just fine