Text wrapping in row header region and cells in edit mode [message #1775257] |
Fri, 27 October 2017 00:44 |
Louis Detweiler Messages: 100 Registered: August 2017 |
Senior Member |
|
|
Hello,
I am trying to get text wrapping in the row header region and in cells that are being edited. I thought the following code would do it, but that is not the case. What am I missing?
natTable.getConfigRegistry().registerConfigAttribute(CellConfigAttributes.CELL_PAINTER,
new TextPainter(true, true, 2, true), DisplayMode.NORMAL, GridRegion.BODY);
natTable.getConfigRegistry().registerConfigAttribute(CellConfigAttributes.CELL_PAINTER,
new TextPainter(true, true, 2, true), DisplayMode.EDIT, GridRegion.BODY);
natTable.getConfigRegistry().registerConfigAttribute(CellConfigAttributes.CELL_PAINTER,
new TextPainter(true, true, 2, true), DisplayMode.NORMAL, GridRegion.ROW_HEADER);
natTable.configure();
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03986 seconds