Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1202 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    insnet is on a distinguished road

      0  

    Default Nested List: Object [object Object] has no method 'getAnimation'

    Nested List: Object [object Object] has no method 'getAnimation'


    REQUIRED INFORMATION


    Ext version tested:
    • Version Number: 2.0.0.pr2

    Browser versions tested against:
    • Chrome 15 (Mac)

    DOCTYPE tested against:
    • html (5)

    Description:
    • Nested List: Object [object Object] has no method 'getAnimation'.

    Test Case:


    View
    PHP Code:
    Ext.define('app.view.AlbumNestedList', {
        
    extend'Ext.NestedList',

        
    config : {
            
    layout:'fit',
            
    fullscreentrue,
            
    displayField'text',
            
    storenull,
            
    title'Yea'
        
    }
    }); 
    Controller
    PHP Code:
    Ext.define('app.controller.AlbumTree', {
        
    extend'Ext.app.Controller',

        
    requires: ['app.store.Albums'],

        
    stores: ['Albums'],

        
    views: [
            
    'AlbumNestedList'
        
    ],

        
    init: function() {
            
    this.view this.getAlbumNestedListView().create();

            
    this.albumsStore this.getAlbumsStore();
            
    this.albumsStore.load({
                
    callbackthis.onAlbumsLoad,
                
    scopethis
            
    });

            
    this.callParent(arguments);
        },

        
    onAlbumsLoad: function() {
            
    this.view.setStore(this.albumsStore);
        }
    }); 
    Store:
    PHP Code:
    Ext.define('app.store.Albums', {
        
    extend'Ext.data.TreeStore',
        
    requires'app.model.Album',
        
    model'app.model.Album',
        
    autoLoadfalse,

        
    root: {},

        
    proxy: {
            
    type'ajax',
            
    url'data/albums.json',
            
    reader: {
                
    type'json',
                
    root'items',
                
    defaultRootProperty'items'
            
    }
        }

    }); 
    Models:

    PHP Code:
    Ext.define('app.model.Album', {
        
    extend'Ext.data.Model',
        
    fields: ['id''name' ],
        
    hasMany: [
            {
    model'Image'name'images'}
        ]
    });
    Ext.define('app.model.Image', {
        
    extend'Ext.data.Model',

        
    fields: ['id''name' ],

        
    belongsTo'Album'
    }); 
    Debugging already done:
    Looks like this is a bug in:
    Ext.dataview.NestedList.goToNode() method

    Operating System:
    • OSX Lion

  2. #2
    Sencha User
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    insnet is on a distinguished road

      0  

    Default


    Anyone with the same problem?

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #4
    Sencha User
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    insnet is on a distinguished road

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    Thank you for the report.
    Thanks for having an eye on this. Would love to get a fast fix (override) cause I am stucked in production atm.

  5. #5
    Sencha User
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    insnet is on a distinguished road

      0  

    Default


    Update: Still not working in SC2 PR3

  6. #6
    Sencha User
    Join Date
    Nov 2010
    Posts
    12
    Vote Rating
    0
    sunset is on a distinguished road

      0  

    Default It seems tab panel has the same bug

    It seems tab panel has the same bug


    rt

  7. #7
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Could you provide us with some fake data too?

    Does this just happen when you load it, or when you do something?
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  8. #8
    Sencha User
    Join Date
    Dec 2011
    Posts
    7
    Vote Rating
    0
    yann Offredi is on a distinguished road

      0  

    Default


    Hi,

    I have the same problem when a launch my application with this code :


    PHP Code:
    layout:'fit',
    xtype:'nestedlist',
    style:"border:1px solid red",
    name:'categorie',
    itemTpl:'{libelle}',
    displayField'libelle',
    height:400,
    store: new Ext.data.TreeStore({id'NestedListStore'model'qbqm.model.quelVin',defaultRootProperty:'items',root:  {text".",items : [{libelle"Entrées & Hors d'Oeuvres"},{libelle"Plats"},{libelle"Fromages"},{libelle"Desserts"},{libelle"Favoris"},{libelle"Historique"}]}}) 

    PHP Code:
    Ext.define('qbqm.model.quelVin',{
    extend:'Ext.data.Model',fields:[{name:'libelle',type:'string'}]    }) 
    chrome/2.0.0 pr3.

    regards