ArrayGrid = new Roo.XComponent({
-
+ _strings : {
+ '1c76cbfe21c6f44c1d1e59d54f3e4420' :"Company"
+ },
part : ["grid", "ArrayGrid" ],
order : '001-ArrayGrid',
grid : {
xtype : 'Grid',
xns : Roo.grid,
- '|xns' : 'Roo.grid'
+ '|xns' : 'Roo.grid',
+ ds : {
+ xtype : 'Store',
+ xns : Roo.data,
+ '|xns' : 'Roo.data',
+ proxy : {
+ xtype : 'MemoryProxy',
+ data : [],
+ xns : Roo.data,
+ '|xns' : 'Roo.data'
+ },
+ reader : {
+ xtype : 'ArrayReader',
+ fields : '[\n {name: \'company\'},\n {name: \'price\', type: \'float\'},MemoryProxy\n {name: \'change\', type: \'float\'},\n {name: \'pctChange\', type: \'float\'},\n {name: \'lastChange\', type: \'date\', dateFormat: \'n/j h:ia\'}\n ]',
+ xns : Roo.data,
+ '|xns' : 'Roo.data'
+ }
+ },
+ cm : [
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'company',
+ header : _this._strings['1c76cbfe21c6f44c1d1e59d54f3e4420'] /* Company */,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ }
+ ]
}
}; }
});