3.2.0

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
April 20,
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.
April 20,
Hi!

How did you pull out the column titles?

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

This topic is archived.

See also:


Back to support forum