:: Forum >>

Unknown Columns until XML Data Retrieved

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.
Peter
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.

hope that helps.
Wednesday, April 20, 2005
Hi!

How did you pull out the column titles?

thx
jstich
Thursday, July 7, 2005
yes - how do you do that?
alan blount : www.zeroasterisk.com
Friday, September 30, 2005

This topic is archived.


Back to support forum

Forum search