From 1bf751ced8fa80199cc5fbfb5ab2386cd31941a8 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 19 Apr 2022 14:14:43 +0800 Subject: [PATCH] examples/grid/ArrayGrid.bjs examples/grid/ArrayGrid.js --- examples/grid/ArrayGrid.bjs | 9 ++++++++- examples/grid/ArrayGrid.js | 7 ++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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 : [ { -- 2.39.2