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