-
7 Jan 2013 3:02 AM #1
Grid raises an error if there is second grid with summary feature
Grid raises an error if there is second grid with summary feature
REQUIRED INFORMATION
Ext version tested:- Ext 4.2 beta
Browser versions tested against:- IE9
- Chrome
DOCTYPE tested against:- <!DOCTYPE>
Description:- If we render two grids and second grid has summary feature then first grid raises an error
Steps to reproduce the problem:- Run the test sample and see errors in console
The result that was expected:- No errors
The result that occurs instead:- Errors occur
Test Case:
Code:<!DOCTYPE> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1"> <title></title> <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> <script type="text/javascript" src="../../ext-all.js"></script> <script type="text/javascript"> Ext.onReady(function () { Ext.create("Ext.panel.Panel", { renderTo: document.body, items: [{ xtype: "grid", title: "Grid1", store: { fields: [{ name: "CliRagSoc" }], autoLoad: true, proxy: { data: [ ["Pippo"], ["Pluto"] ], type: 'memory', reader: { "type": "array" } } }, columns: [{ dataIndex: "CliRagSoc" }] }, { xtype: "grid", title: "Grid2", store: { "fields": [{ "name": "ProDetTotOre" }] }, columns: [{ dataIndex: "ProDetTotOre", summaryType: "sum" }], features: [Ext.create("Ext.grid.feature.Summary", { ftype: "summary" })] }] }); }); </script> </head> <body> </body> </html>
HELPFUL INFORMATION
Operating System:- Win7
-
7 Jan 2013 8:58 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,114
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8166
in
4.2.0 Sprint 3.


Reply With Quote