examples/grid/ArrayGrid.bjs
authorAlan <alan@roojs.com>
Tue, 19 Apr 2022 06:12:08 +0000 (14:12 +0800)
committerAlan <alan@roojs.com>
Tue, 19 Apr 2022 06:12:08 +0000 (14:12 +0800)
examples/grid/ArrayGrid.js

examples/grid/ArrayGrid.bjs
examples/grid/ArrayGrid.js

index b45b6ad..28b0c86 100644 (file)
      "$ xns" : "Roo.grid",
      "* prop" : "grid",
      "items" : [
+      {
+       "xtype" : "Store",
+       "$ xns" : "Roo.data",
+       "* prop" : "ds"
+      },
       {
        "String header" : "Company",
        "String dataIndex" : "company",
index f083b8b..4bd9248 100644 (file)
@@ -27,6 +27,11 @@ ArrayGrid = new Roo.XComponent({
     xtype : 'Grid',
     xns : Roo.grid,
     '|xns' : 'Roo.grid',
+    ds : {
+     xtype : 'Store',
+     xns : Roo.data,
+     '|xns' : 'Roo.data'
+    },
     cm : [
      {
       xtype : 'ColumnModel',