3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
7 Ext.onReady(function() {
8 var SaleRecord = Ext.data.Record.create([
9 {name: 'person', type: 'string'},
10 {name: 'product', type: 'string'},
11 {name: 'city', type: 'string'},
12 {name: 'state', type: 'string'},
13 {name: 'month', type: 'int'},
14 {name: 'quarter', type: 'int'},
15 {name: 'year', type: 'int'},
16 {name: 'quantity', type: 'int'},
17 {name: 'value', type: 'int'}
20 var myStore = new Ext.data.Store({
23 reader: new Ext.data.JsonReader({
29 var pivotGrid = new Ext.grid.PivotGrid({
30 title : 'PivotGrid example',
39 title: 'Sales Performance'