grunt-sencha-dependencies
grunt-sencha-dependencies copied to clipboard
BufferedRenderer strange behavior
When require Ext.grid.plugin.BufferedRenderer in app.js it appears in sencha dependencies list, but in built application with app.min.js i see "cannot find http://localhost/src/grid/plugin/BufferedRenderer.js" and two others js required files - Ext.grid.plugin.BufferedRendererTableView Ext.grid.plugin.BufferedRendererTreeView
Meanwhile in app.min.js i see declaration of BufferedRenderer (Ext.define)
How is it possible?
Thanks, Dmitry.
Hi @yetit - Could you post an example of how you're depending/including on the BufferedRenderer in your view file?
First time it looks like:
Ext.require([ 'Ext.data.', 'Ext.util.', 'Ext.grid.', 'Ext.tree.', 'Ext.resizer.', 'Ext.layout.', 'Ext.form.', 'Ext.chart.' ]);
And 'Ext.grid.*' includes all plugins, BufferedRenderer too. Now I customise require instruction for grid classes:
'Ext.grid.Panel',
'Ext.grid.column.*',
this solution is local, because I don't use BufferedRenderer in this project.