From 53ee2664e211c98400863e8b40450afcb98a914c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 6 Sep 2010 16:09:55 +0800 Subject: [PATCH] dbgenerate.js --- dbgenerate.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dbgenerate.js b/dbgenerate.js index ac4a8fa3e..5efb7dd80 100644 --- a/dbgenerate.js +++ b/dbgenerate.js @@ -505,7 +505,15 @@ readers.forEach(function(reader) { "background": true, "region" : 'center', "listeners": { - "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}" + "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}", + "|rowdblclick": "function (_self, rowIndex, e)\n" + + "{\n" + + " if (!_this.dialog) return;\n" + + " _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n" + + " _this.grid.footer.onClick('first');\n" + + " }); \n" + + "}\n" + }, "items": [ { -- 2.39.2