Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:41:22 +0000 (20:41 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:41:22 +0000 (20:41 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 85ab55f..0cbb122 100644 (file)
@@ -82,6 +82,9 @@
                                             ]
                                         },
                                         {
+                                            "listeners": {
+                                                "afterselectionchange": "function (_self)\n{\n    _this.vgrid.onClick('first');\n}"
+                                            },
                                             "*prop": "sm",
                                             "singleSelect": true,
                                             "xtype": "RowSelectionModel",
index 0eb045f..0636323 100644 (file)
@@ -121,6 +121,12 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                             sm : {
                                 xtype: 'RowSelectionModel',
                                 xns: Roo.grid,
+                                listeners : {
+                                    afterselectionchange : function (_self)
+                                    {
+                                        _this.vgrid.onClick('first');
+                                    }
+                                },
                                 singleSelect : true
                             },
                             footer : {