3.0.5

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
June 14,
obj.getRowTemplate().setClass("text", "wrap");

http://www.activewidgets.com/grid.howto.cells/multiline-text.html
Alex (ActiveWidgets)
June 14,
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
October 16,
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)
October 17,

This topic is archived.

See also:


Back to support forum