{
xtype: 'Button',
xns: Roo.Toolbar,
+ listeners : {
+ click : function (_self, e)
+ {
+ new Pman.Download({
+ grid : _this.grid
+ });
+ Roo.MessageBox.alert("Notice", "Report is downloading");
+ }
+ },
text : "Download"
}
]
[ 'CLOSED' , "Closed"],
[ 'UNPOSTED', "Unposted only"] ,
[ 'UNUSED', "Posted and not used"] ,
- [ 'VOIDED', "Voided"]
+ [ 'VOIDED', "Voided"],
+ [ 'NOTVOIDED', "Not Voided"],
+ [ 'ALL', "Show All"],
],
fields : [ 'ftype', 'fname']
}
dataIndex : 'cmhead_salesrep_id_salesrep_name',
header : 'Sales Rep',
sortable : true,
- width : 100,
+ width : 80,
+ renderer : function(v) { return String.format('{0}', v ); }
+ },
+ {
+ xtype: 'ColumnModel',
+ xns: Roo.grid,
+ dataIndex : 'cust_salesrep_salesrep_name',
+ header : 'Cust. Sales Rep',
+ sortable : true,
+ width : 80,
renderer : function(v) { return String.format('{0}', v ); }
},
{