Possible bug in XmlReader/Grid
Using this code in creating the data store in an Ext.grid.Grid:
// create the Data Store
var ds = new Ext.data.Store({
// load using HTTP
proxy: new Ext.data.HttpProxy({url: 'test.do'}),
// the return will be XML, so lets set up a reader
reader: new Ext.data.XmlReader({
record: 'com.acme.example.Test'
}, [
{name: 'id', mapping: 'id'},
{name: 'name', mapping: 'name'}
])
});
With this scenario, no data is displayed in the grid. However, if I change the xml record to just 'Test' and return a flat XML string from server (i.e.
Anybody have a clue why this is not working? Any help or direction would be much appreciated.
Thanks!
#If you have any other info about this subject , Please add it free.# |

