:: Forum >>

cell (not header) text wrapping in version 2

So I have dug through alot of posts on this topic (cell text wrapping). I tried what was suggested in here:

/javascript.forum.7621.3/styling-of-multiline-cells.html

But that doesn't work on FF, and doesn't do the correct thing on IE (i.e. the text still doesn't wrap, and the columns do not auto grow in height.

Is there *any* way to make cell text wrap in version 2?
Gary
Friday, March 17, 2006
In AW 2.0 there is a CSS class (.aw-text-wrap) which will wrap text in cells and this class should be applied to the cell parent element (row) -

obj.getRowTemplate().setClass("text", "wrap");

To wrap text in headers use -

obj.getHeadersTemplate().setClass("text", "wrap");

Alex (ActiveWidgets)
Friday, March 17, 2006
Again, Thanks Alex! That worked!!
Gary
Friday, March 17, 2006

This topic is archived.


Back to support forum

Forum search