日期:2014-05-16 浏览次数:20403 次
gg_imported = Ext.extend(Ext.grid.GridPanel, {
InsertWin: new AddInfoWin(),
UpdateWin: new UpdateInfoWin(),
LoginWin: new LoginInfoWin(),
constructor: function() {
this['store'] = new Ext.data.Store({
url: 'http://10.86.116.58/WebServices/gridtest.asmx/ggconfimed',
reader: new Ext.data.XmlReader({
record: 'MyTable',
root: 'root',
totalProperty: 'totalRecords',
fields: ['GG_ID', 'MIC_GG_NUM', 'MSL_GG_NUM', 'LINE', 'PART_NUM', 'QTY', 'SHIP_TYPE', 'CS_NUM', 'CUSTOMER', 'CUST_NUM', 'GG_SO_NUM']
})
});
gg_imported.superclass.constructor.call(this, {
//autoLoad: true,
renderTo: Ext.getBody(),
closable: true,
id: '_grid1',
title: 'GG_Imported ',