extjs-gpl
Version:
GPL licensed version of Sencha Ext JS
18 lines (13 loc) • 398 B
JavaScript
Ext.define('KitchenSink.store.Posts', {
extend: 'Ext.data.TreeStore',
model: 'KitchenSink.model.tree.Post',
proxy: {
type: 'ajax',
reader: 'json',
url: '/KitchenSink/Posts'
},
// Preload child nodes before expand request
lazyFill: false,
// If a leaf node passes the filter, all its ancestors will be filtered in
filterer: 'bottomup'
});