"items": [
{
"listeners": {
- "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}"
+ "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
+ "rowdblclick": "function (_self, rowIndex, e)\n{\n var rec = this.ds.getAt(rowIndex);\n new Pman.Download({\n url : baseURL + '/Roo/Report',\n method : 'GET',\n params : {\n _id : rec.data.report_id,\n _download : 1\n }\n });\n Roo.MessageBox.alert(\"Downloading\",\n \n \"Report template is downloading - use \" +\n '<a href=\"http://sourceforge.net/projects/openrpt/files/openrpt/\">' + \n \"report writer to edit this\" + \n '</a>'\n );\n \n \n \n}"
},
"*prop": "grid",
"autoExpandColumn": "report_descrip",
if (_this.panel.active) {
this.footer.onClick('first');
}
+ },
+ rowdblclick : function (_self, rowIndex, e)
+ {
+ var rec = this.ds.getAt(rowIndex);
+ new Pman.Download({
+ url : baseURL + '/Roo/Report',
+ method : 'GET',
+ params : {
+ _id : rec.data.report_id,
+ _download : 1
+ }
+ });
+ Roo.MessageBox.alert("Downloading",
+
+ "Report template is downloading - use " +
+ '<a href="http://sourceforge.net/projects/openrpt/files/openrpt/">' +
+ "report writer to edit this" +
+ '</a>'
+ );
+
+
+
}
},
autoExpandColumn : 'report_descrip',