bbg
30 Nov 2009, 8:54 PM
Hello!
Product: ExtJS
Version: 3.0.3 Public Release
Widget: GridView
Look at the GridView source. There is no templates attribute defined in the prototype.
So if you are not able to have some grids with different templates on the same page. Because templates attribute is created in the initTemplates method and it becomes global.
Patch:
Ext.override(Ext.grid.GridView, {
templates: null
});
P.S. this simple bug has eaten some hours of my time! >:)
Product: ExtJS
Version: 3.0.3 Public Release
Widget: GridView
Look at the GridView source. There is no templates attribute defined in the prototype.
So if you are not able to have some grids with different templates on the same page. Because templates attribute is created in the initTemplates method and it becomes global.
Patch:
Ext.override(Ext.grid.GridView, {
templates: null
});
P.S. this simple bug has eaten some hours of my time! >:)