@PublicApi public interface PrintableColumn extends ExportColumn<PrintableCell>
PrintableColumn
is a specialization of ExportColumn
for exporting to the printable HTML format.PrintableCell
Modifier and Type | Method and Description |
---|---|
void |
setMultiline(boolean multiline)
Pass
true to this method to allow line breaks for the cells in this column. |
void |
setPercentageStyle(PercentageStyle style)
Set the percentage display style for the cells in this column.
|
getHeaderCell
void setMultiline(boolean multiline)
true
to this method to allow line breaks for the cells in this column. By default line breaks are
forbidden (by using a "white-space: nowrap !important"
CSS declaration).multiline
- true
if line breaks are allowed, false
otherwise.void setPercentageStyle(PercentageStyle style)
PercentageStyle.PROGRESS_BAR
is used when
no other style is set.style
- The percentage style.ExportCell.setPercentage(Double)
Copyright © 2017 ALM Works. All Rights Reserved.