Pman.Dialog.CoreNotifyRefer.bjs
authorAlan Knowles <alan@akbkhome.com>
Wed, 16 May 2012 08:11:12 +0000 (16:11 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 16 May 2012 08:11:12 +0000 (16:11 +0800)
Pman.Dialog.CoreNotifyRefer.js

Pman.Dialog.CoreNotifyRefer.bjs
Pman.Dialog.CoreNotifyRefer.js

index 263c3bc..2ed0bdf 100644 (file)
                             "|xns": "Roo.grid",
                             "items": [
                                 {
+                                    "listeners": {
+                                        "update": "function (_self, record, operation)\n{\n    Roo.log(operation);\n}"
+                                    },
                                     "*prop": "dataSource",
-                                    "xtype": "Store",
                                     "remoteSort": true,
+                                    "xtype": "Store",
                                     "|sortInfo": "{ field : 'freq', direction: 'ASC' }",
                                     "|xns": "Roo.data",
                                     "items": [
index 2cc06b9..f667aca 100644 (file)
@@ -83,6 +83,12 @@ Pman.Dialog.CoreNotifyRefer = {
                         dataSource : {
                             xtype: 'Store',
                             xns: Roo.data,
+                            listeners : {
+                                update : function (_self, record, operation)
+                                {
+                                    Roo.log(operation);
+                                }
+                            },
                             remoteSort : true,
                             sortInfo : { field : 'freq', direction: 'ASC' },
                             proxy : {