1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    15
    Vote Rating
    0
    fabbydesign is on a distinguished road

      0  

    Default Unanswered: Something strange at Layout Browser

    Unanswered: Something strange at Layout Browser


    i have this code, that works ok:

    HTML Code:
    Ext.Object.each(getAdminUsers(), function(name, example){            layoutExamples.push(example);        });    treePanel.getSelectionModel().on('select', function(selModel, record) {
    if i put this code:
    HTML Code:
    Ext.Object.each(getAdminUsers(), function(name, example){            layoutExamples.push(example);        });
    after treePanel.getSelectionModel().on('select', function(selModel, record) {

    i get the error: TypeError: Cannot read property 'xtype' of undefined [ ***/ext-all.js:15]
    and i don't understand why?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Answers
    655
    Vote Rating
    443
    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


    You code seems incomplete.. bad paste?
    Please format code and try again.


    treePanel.getSelectionModel().on('select', function(selModel, record) {
    Regards,
    Scott

Thread Participants: 1