ExtJs store, how to load data using a MemoryProxy

Posted by Miau on Stack Overflow See other posts from Stack Overflow or by Miau
Published on 2010-05-17T19:26:08Z Indexed on 2010/05/17 19:31 UTC
Read the original article Hit count: 1143

Filed under:

Hi there

I m trying to load a json store using a MemoryProxy ( i need to use a proxy because I use different sources depending on scenarios) it kinda looks like this

var data = Ext.decode(gridArrayData);
var proxy = new Ext.data.MemoryProxy(data);

 var store = new Ext.data.GroupingStore({

            proxy: proxy
        });

however when I inspect this I can see that the proxy has 10 rows of data, but not the store I m lost as to why Any pointers?

© Stack Overflow or respective owner

Related posts about extjs