We are using SmartClient 8.3 (9-17 build) and noticed that doing a simple print with ListGrid headerSpans doesn't print properly. See attached.
Here is a simple test case:
Here is a simple test case:
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:350,
alternateRecordStyles:true,
data: countryData,
fields: [
{name: "countryName", title: "Country"},
{name: "capital", title: "Capital"},
{name: "continent", title: "Continent"}
],
headerHeight: 40,
headerSpans: [{
fields: ["countryName", "capital", "continent"],
title: "Header Span"
}]
});
isc.Button.create({
ID : "buttonPdf",
width: 150,
title:"Export",
click:function () {
var settings = {
skinName: "Enterprise",
pdfName: "export"// without .pdf
};
isc.RPCManager.exportContent(mainLayout, settings);
}
});
isc.Button.create({
ID : "buttonPreview",
width: 150,
title:"Show Print Preview",
click:function () {
mainLayout.showPrintPreview();
}
});
isc.VLayout.create({
ID: "mainLayout",
width: 500,
height: 350,
members: [
countryList,
buttonPdf,
buttonPreview
]
});
Comment