I am testing Sencha 2, I can get a nested list to correctly display an example from the tutorials, but as soon as I try a simple version of the list, I get the following error: Uncaught TypeError: expecting a function in instanceof check, but got #Object
I use the same code as in the example, only with a change that matches the code in its own file:
Ext.define('layouts.view.TheList', { extend: 'Ext.List', xtype: 'thelist', config: { title: 'The List', store: { fields: ['name'], data: [ {name: 'Cowper'}, {name: 'Everett'}, {name: 'University'}, {name: 'Forest'} ] }, itemTpl: '{name}' } });
kaore
source share