:: Forum >>

Need cell content to wrap

I need to force the width of a cell to 305px, and have the text wrap, instead of requiring a user to expand the grid cell. How can I do this, using AW.UI.Grid object? Thanks in advance for all suggestions!!
Christie
Thursday, June 14, 2007
obj.getRowTemplate().setClass("text", "wrap");

http://www.activewidgets.com/grid.howto.cells/multiline-text.html
Alex (ActiveWidgets)
Thursday, June 14, 2007
Looks like you have to hardcode the row height for this to work. What if your cell content is variable? How would I get the row height to be automatically sized to the height of the wrapped text?
Mark
Tuesday, October 16, 2007
The current version does not support variable row height - all rows should be the same (hardcoded) height. This limitation will be removed in one of the future versions.
Alex (ActiveWidgets)
Wednesday, October 17, 2007

This topic is archived.


Back to support forum

Forum search