Playing around, I discovered that, on the HTTPService object, a simple property allows the data to be accessible via simple XML calls,
service.resultFormat = "e4x";
This enables your datagrid's columns' dataField to simply have your XML element or attribute name as its value. For example, to read an id attribute off of the root element of your XML, you'd use dataField="@id".
1 comment:
Thanks for the tip. Just what I needed.
Post a Comment