0

check highlighted block with red color

Please check image for reference. My requirement is to limit this text in the cell so that it does not remove partition line of next cell even when text is long. I am using rich text editor in gwt 2.1. I dont want one cell data to overflow into other cell destroying its boundaries

Any suggestions

Thanks

checkgdata
  • 313
  • 5
  • 13

3 Answers3

0

You can apply a CSS style to your table. For example:

.myTable td {
    word-wrap: break-word;
    white-space: normal;
}
Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
0

It can be done using:

label.setOverflow(Overflow.HIDDEN);

HIDDEN

public static final Overflow HIDDEN Content that extends beyond the widget's width or height is clipped (hidden).

checkgdata
  • 313
  • 5
  • 13
0

Have you ever tried to use this?

pricate ListGrid grid;

grid.setFixedRecordHeights(false); // Will make sure that your rows can be resized.
grid.setWrapCells(true); // Will make the text at the end of your rows wrap to the next line
Oliver Drummond
  • 680
  • 1
  • 6
  • 19