Ext JS 4: Filtering a TreeStore
I originally posted this on the Sencha forums here but didn't get any responses (other than my own answer, which I will post soon), so I am going to repost it here and see if I get anymore help. I've been racking my brain on how to filter a TreeStore in 4.0.7. I've tried the following: The model Ext.define('model', { extend: 'Ext.data.Model', fields: [ {name: 'text', type: 'string'}, {name: 'leaf', type: 'bool'}, {name: 'expanded', type: 'bool'}, {name: 'id', type: 'string'} ], hasMany: {model: 'model', name: 'children'} }); The store Ext.define('myStore', { extend: 'Ext.data.TreeStore', model