Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:52:46 +0000 (18:52 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:52:46 +0000 (18:52 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index 8568570..2d77e21 100644 (file)
@@ -53,6 +53,9 @@
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {
+                                            "listeners": {
+                                                "afterselectionchange": "function (_self)\n{\n    _this.rgrid.footer.onClick('first');\n}"
+                                            },
                                             "*prop": "sm",
                                             "singleSelect": true,
                                             "xtype": "RowSelectionModel",
index 012a747..c6519ab 100644 (file)
@@ -65,6 +65,12 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                             sm : {
                                 xtype: 'RowSelectionModel',
                                 xns: Roo.grid,
+                                listeners : {
+                                    afterselectionchange : function (_self)
+                                    {
+                                        _this.rgrid.footer.onClick('first');
+                                    }
+                                },
                                 singleSelect : true
                             },
                             dataSource : {