:: Forum >> Version 2 >>

Automatic text wrap

More information on this topic is available in the documentation section: /grid.howto.headers/.

Hi,
Just bought the license and trying to make autowrap and autoresize for the cells while resizing the column width. Please advise.
ilia
Monday, August 13, 2007
You can wrap text in the grid cells using .aw-text-wrap class (on row template) -

obj.setRowHeight(40);
obj.getRowTemplate().setClass("text""wrap");
obj.setCellTemplate(new AW.Templates.ImageText);
 
http://www.activewidgets.com/grid.howto.cells/multiline-text.html

Unfortunately it is not possible to make rows adjusting the height to the cell content - in AW 2.0.2 all rows must be the same height for correct scroll calculations.
Alex (ActiveWidgets)
Monday, August 13, 2007



This topic is archived.

Back to /grid.howto.headers/

Documentation:

Forum search