Qv.Document.Object.HeaderCell
Example
function init() {
var tbl = doc.GetObject("CH04");
tbl.SetOnUpdateComplete(function () {
var
html = [],
headerRows = this.Data.HeaderRows;
html.push("<table border='1'>");
for (var r = 0, max = headerRows.length; r < max; r++) {
var rowData = headerRows[r];
html.push("<tr>");
for (var c = 0; c < rowData.length; c++) {
var cell = rowData[c];
html.push("<td>" + cell.text + "</td>");
}
html.push("</tr>");
}
var elem = document.getElementById('tb');
elem.innerHTML = html.join("");
});
}
Members
style :Integer
Style (reference to entry in the Data.CellStyles collections).
Type:
- Integer
text :String
The text for the cell.
Type:
- String