I just wanted to test XML population of a datagrid.
After searching around I found that the actual element names in the XML doesn't matter but the names of the attributes do.
So here's what I tried.
var myGridDP:XML = new XML(
"<test>" +
"<row name='person1' data='blah'/>" +
"<row name='person2' data='blah2'/>" +
"</test>");
myDataGrid.dataProvider = myGridDP;
I know that this works with a menu/tree/other list components but with my datagrid this doesn't cause an error but doesn't seem to do anything.
Can someone help me find the error?
Thanks,
-Tim