Thursday, July 26, 2012

Insert a page break when printing a popup panel

Hello, I'd like to have a popup panel that prints.  I want to have a page break at a specific location when printing.  I am using GWT 2.4 with UiBinder.  Here are some specifics:

    <g:FlexTable>...I am programmatically building the flex table...</g:FlexTable>
    <!-- I want a page break here -->


I have tried adding a style to the label like this:

.pageBreak {
   page-break-before: always;
<g:Label addStyleNames="{style.pageBreak}">...</g:Label>

I've also tried something like this:

<g:HTML addStyleNames="{style.pageBreak}"/>

even tried this...

  <div style="page-break-before: always;"/>

But nothing seems to work.  Does anyone have a suggestion?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment