/** * @private * A set of overrides required by the presence of the BufferedRenderer plugin. * * These overrides of Ext.tree.View take into account the affect of a buffered renderer and * divert execution from the default course where necessary. */ Ext.define('Ext.grid.plugin.BufferedRendererTreeView', { override: 'Ext.tree.View', onRemove: function(store, records, indices) { // Using buffered rendering - removal (eg folder node collapse) // Has to refresh the view if (this.bufferedRenderer) { this.onDataRefresh(); } // No BufferedRenderer preent else { this.callParent([store, records, indices]); } } });