Pman.Tab.XtupleCurrency.bjs
authorEdward <edward@roojs.com>
Fri, 27 Dec 2013 06:44:27 +0000 (14:44 +0800)
committerEdward <edward@roojs.com>
Fri, 27 Dec 2013 06:44:27 +0000 (14:44 +0800)
Pman.Tab.XtupleCurrency.js

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

index 330a716..51516f4 100644 (file)
                                             "xtype": "ColumnModel",
                                             "|renderer": "function(v,x,r) {    \n     return String.format('{2}1 = {1}{0}', \n        Roo.util.Format.number(1.0/r.data.curr_rate,2),\n        r.data.base_curr_symbol,\n        r.data.curr_id_curr_symbol\n    ); \n}",
                                             "|xns": "Roo.grid"
+                                        },
+                                        {
+                                            "|xns": "Roo.grid",
+                                            "xtype": "RowSelectionModel",
+                                            "*prop": "sm"
                                         }
                                     ]
                                 }
index 008fc65..0877c11 100644 (file)
@@ -425,7 +425,11 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                         ); 
                                     }
                                 }
-                            ]
+                            ],
+                            sm : {
+                                xtype: 'RowSelectionModel',
+                                xns: Roo.grid
+                            }
                         }
                     }
                 ],