When using remote XML as the datasource, I was wondering whether it is possible to delay the assignment of Column titles (and the columns) themselves, until after the XML is retrieved from the server, or does the XML data table need to have the info prior to parsing out the XML. In other words, can the datatable be told to read the very first row for column headers and then parse everything else out as rows for the grid.
Wednesday, April 20, 2005
I needed to do the exact same thing. I created the Active.XML.Table, then used setAsync(false); and request(); to get the xml data. Then I pulled out the column titles and used setProperty("column/texts", columns); (I had the names defined in the xml). Finaly, I used the setModel("data", table); on the grid.