private native void printFrame(Element e) /*-{
e.value.print();
}-*/;
Textarea t = new Textarea();
t.setText("Something");
printFrame(t.getElement);
I get the following JavaScriptException
com.google.gwt.core.client.JavaScriptException: JavaScript TypeError
exception: Object doesn't support this property or method
Any suggestions?
Hi all,
i'm bit confused on how to print a single VerticalPanel(not the entire
window), i don't understand how i can copy the contents(a sort of
report builded in a verticalpanel with some widgets) to the new window.
The issue about print with native js works fine, but because i don't
need to print entire app window, i want to copy only the vertical panel
that i need to the new window and print only the content of this new
window.
Anyone that could enlight me ?
Best regards and thanks in advance.
KMR