Hello,
I'm trying to print a DynamicForm with the SmartClient printing components, it is working fine in general except with a form which has an embedded section in it.
The result is not as it should be (see formPrintPreview.png) :
- "field2" is truncated
- "field3" is included in the canvas used for the section.
Smart Client 7/PowerEdition
Firefox 3.5.x / IE 7
Thank you
I'm trying to print a DynamicForm with the SmartClient printing components, it is working fine in general except with a form which has an embedded section in it.
Code:
isc.DynamicForm.create({
ID: "exampleForm",
width: 250,
wrapItemTitles: false,
fields: [
{name: "field1", title: "Field 1", type: "text"},
{type: "canvas", name: "canvas",
canvas: isc.DynamicForm.create({
styleName: "defaultBorder",
wrapItemTitles: false,
fields: [
{defaultValue: "Section", type: "section", sectionExpanded: true, width: "*", itemIds: ["field2"]},
{name: "field2", title: "Field 2", type: "text"}
]
})
},
{name: "field3", title: "Field 3", type: "text"}
]
});
isc.Button.create({
left: 300,
title: "Print",
click: function () {
isc.Canvas.showPrintPreview(exampleForm);
}
});
- "field2" is truncated
- "field3" is included in the canvas used for the section.
Smart Client 7/PowerEdition
Firefox 3.5.x / IE 7
Thank you
Comment