From: Alan Date: Tue, 19 Apr 2022 06:14:43 +0000 (+0800) Subject: examples/grid/ArrayGrid.bjs X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=1bf751ced8fa80199cc5fbfb5ab2386cd31941a8 examples/grid/ArrayGrid.bjs examples/grid/ArrayGrid.js --- diff --git a/examples/grid/ArrayGrid.bjs b/examples/grid/ArrayGrid.bjs index 28b0c86724..77f27768b6 100644 --- a/examples/grid/ArrayGrid.bjs +++ b/examples/grid/ArrayGrid.bjs @@ -21,7 +21,14 @@ { "xtype" : "Store", "$ xns" : "Roo.data", - "* prop" : "ds" + "* prop" : "ds", + "items" : [ + { + "xtype" : "MemoryProxy", + "$ xns" : "Roo.data", + "* prop" : "proxy" + } + ] }, { "String header" : "Company", diff --git a/examples/grid/ArrayGrid.js b/examples/grid/ArrayGrid.js index 4bd924802a..136d841bf6 100644 --- a/examples/grid/ArrayGrid.js +++ b/examples/grid/ArrayGrid.js @@ -30,7 +30,12 @@ ArrayGrid = new Roo.XComponent({ ds : { xtype : 'Store', xns : Roo.data, - '|xns' : 'Roo.data' + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + } }, cm : [ {