Hello,
I have a problem with this code :
When I click on the button there is a Javascript error : "parent[...] a la valeur Null ou n'est pas un objet" ("parent[...] has a null value or is not an object" ?) and when I try a print preview, my listgrid (not in the code) which is in my layout is really odd (empty lines)
What is the problem ?
Is it a bug with SmartGwt or is it not the good way to print a listGrid (which has scrollbars) ?
Thank you very much by advance
I have a problem with this code :
Code:
final VLayout layout = new VLayout(15);
IButton printButton = new IButton("Imprimer");
printButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Canvas.showPrintPreview(layout);
}
});
layout.addMember(printButton);
What is the problem ?
Is it a bug with SmartGwt or is it not the good way to print a listGrid (which has scrollbars) ?
Thank you very much by advance
Comment