I am using MemoryProxy with XML data. The memory proxy is then used by number of store, the Ext.data.XmlReader is used to parse the XML and load the ListView control. However, i am not able to load the ListView. Please find the sample code snippet below.
//sXMLDocument is a AJAX XML response
var XMLmem = new Ext.data.MemoryProxy(sXMLDocument);
var ContourStore = new Ext.data.Store({
autoLoad: true,
proxy: XMLmem,
reader: new Ext.data.XmlReader({
record:'WizardSelects/SelectKPISet[Value="Contour"]/ColorBreakPoint[Value="Standard"]/KPI',
fields: [
{name: 'DisplayName', mapping: 'DisplayName/@Value', type: 'string'},
{name: 'MetaName', mapping: 'MetaName/@Value', type: 'string' }]
})
});