column header from xml
table.response = function(xmlString) {
_response.call(table, xmlString);
table.setXML(xmlString);
//getting column headers dynamically
var headerNodes = xmlDoc.selectNodes(Xpath);
var headerText = new Array();
for( i=0; i<headerNodes.length; i++ ) {
var FieldAttribute = headerNodes[i];
headerText.push(FieldAttribute);
}
}
I want to display headerText array as columns. Please answer as to how to display column headers with 2.0
_response.call(table, xmlString);
table.setXML(xmlString);
//getting column headers dynamically
var headerNodes = xmlDoc.selectNodes(Xpath);
var headerText = new Array();
for( i=0; i<headerNodes.length; i++ ) {
var FieldAttribute = headerNodes[i];
headerText.push(FieldAttribute);
}
}
I want to display headerText array as columns. Please answer as to how to display column headers with 2.0
sansen
February 8,