PDA

View Full Version : Ext.data.Store in Ext.DataView



shakul
10 Mar 2011, 3:01 AM
Hello!

I'm trying to create a Ext.DataView with data from Ext.data.Store.

store = new Ext.data.Store({
proxy : new Ext.ux.data.PagingMemoryProxy(facebookdata),
remoteSort : true,
reader : new Ext.data.ArrayReader({
fields : [
{name : 'name'},
{name : 'id'}
]
}),
remoteSort : true,
storeId : 'friendsStore',
root : '',
listeners :
{
load : function(obj)
{
//console.log('friendsjson: ',obj.data);
}
}
})