grunt-sencha-dependencies icon indicating copy to clipboard operation
grunt-sencha-dependencies copied to clipboard

BufferedRenderer strange behavior

Open yetit opened this issue 10 years ago • 2 comments

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.

yetit avatar Jun 03 '14 06:06 yetit

Hi @yetit - Could you post an example of how you're depending/including on the BufferedRenderer in your view file?

mattgoldspink avatar Jun 03 '14 22:06 mattgoldspink

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.

yetit avatar Jun 04 '14 04:06 yetit