resources/Editors/Editor.Roo.LayoutDialog.bjs
authorEdward <edward@roojs.com>
Wed, 6 May 2015 07:35:55 +0000 (15:35 +0800)
committerEdward <edward@roojs.com>
Wed, 6 May 2015 07:35:55 +0000 (15:35 +0800)
resources/Editors/Editor.Roo.LayoutDialog.js

resources/Editors/Editor.Roo.LayoutDialog.bjs
resources/Editors/Editor.Roo.LayoutDialog.js

index 39022eb..c9116e2 100644 (file)
@@ -49,6 +49,9 @@
      "* prop" : "grid",
      "items" : [
       {
+       "listeners" : {
+        "load" : "function (_self, records, options)\n{\n    Roo.log(records);\n}"
+       },
        "$ Array fields" : "[ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ]",
        "$ Array data" : "[\n  [ 1, 'test', 'test', 110 ]\n  \n\n]",
        "Number id" : "'dataIndex'",
index d58639c..3b0af65 100644 (file)
@@ -43,7 +43,13 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
      fields : [ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ],
      id : 'dataindex',
      xns : Roo.data,
-     xtype : 'SimpleStore'
+     xtype : 'SimpleStore',
+     listeners : {
+      load : function (_self, records, options)
+       {
+           Roo.log(records);
+       }
+     }
     },
     toolbar : {
      '|xns' : 'Roo',