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

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

index 9ea0dd4..ada3ad8 100644 (file)
                                                     "|xns": "Roo.data"
                                                 },
                                                 {
-                                                    "|xns": "Roo.data",
-                                                    "xtype": "JsonReader",
-                                                    "totalProperty": "total",
-                                                    "root": "data",
                                                     "*prop": "reader",
                                                     "id": "id",
-                                                    "|fields": "[\n    {\n        'name': 'curr_id',\n        'type': 'int'\n    },\n    {\n        'name': 'curr_base',\n        'type': 'int'\n    },\n    {\n        'name': 'curr_name',\n        'type': 'string'\n    },\n    {\n        'name': 'curr_symbol',\n        'type': 'string'\n    },\n    {\n        'name': 'curr_abbr',\n        'type': 'string'\n    }\n]"
+                                                    "root": "data",
+                                                    "totalProperty": "total",
+                                                    "xtype": "JsonReader",
+                                                    "|fields": "[\n    {\n        'name': 'curr_id',\n        'type': 'int'\n    },\n    {\n        'name': 'curr_base',\n        'type': 'int'\n    },\n    {\n        'name': 'curr_name',\n        'type': 'string'\n    },\n    {\n        'name': 'curr_symbol',\n        'type': 'string'\n    },\n    {\n        'name': 'curr_abbr',\n        'type': 'string'\n    }\n]",
+                                                    "|xns": "Roo.data"
                                                 }
                                             ]
                                         },
index 050a7d4..c70d3f0 100644 (file)
@@ -88,9 +88,9 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                 reader : {
                                     xtype: 'JsonReader',
                                     xns: Roo.data,
-                                    totalProperty : 'total',
-                                    root : 'data',
                                     id : 'id',
+                                    root : 'data',
+                                    totalProperty : 'total',
                                     fields : [
                                         {
                                             'name': 'curr_id',