CellTable / Column based on NumberCell, wrapping problem

15 views
Skip to first unread message

Christophe

unread,
Sep 7, 2011, 10:51:16 AM9/7/11
to Google Web Toolkit, christoph...@contactoffice.net
Hi,

I have a TableCell, with a Column<?,Number> created on a NumberCell.
My numberCell uses a NumberFormat where groupingSeparator is a space
(" ").

I have too much columns to fit in a single page, and if column header
is too small, the numbers are wrapped. I can't find any method to
force a nowrap style on each <td />.

Any suggestion will be appreciated.

Thanks a lot in advance,
Christophe

Jeff Larsen

unread,
Sep 7, 2011, 11:42:05 AM9/7/11
to google-we...@googlegroups.com, christoph...@contactoffice.net
you'll just have to add it with 

inside column (2.4rc1)

There is a method

  public void setCellStyleNames(String styleNames) {
    this.cellStyleNames = styleNames;
  }

where it links to a style where you set 

white-space:nowrap;
Reply all
Reply to author
Forward
0 new messages