PDA

View Full Version : Having issues with Ext.data.XmlReader



robtcallahan
5 Apr 2007, 8:53 AM
Hi folks,

Well, I'm getting in deep with Ext and so far, I'm loving it. But I'm confused about how to obtain
an id from the xml and use it as data in a grid. I've attached both the xml and javascript.

Thanks for any help/suggestions.

Rob

Animal
5 Apr 2007, 10:02 PM
You need to put the request id in your record definition. By default, it's not included as a field.

I think there's a case for allowing the ColumModel to always access the ID using a special dataIndex value like '$Ext.id' so that you don't have to do this.

Jack?