:: Home >>

Multiline text

To allow multiline text in the cells .aw-text-wrap class should be applied to the cell parent template (row).

obj.setRowHeight(40);
obj.getRowTemplate().setClass("text", "wrap");
obj.setCellTemplate(new AW.Templates.ImageText);

In AW 2.0 use AW.Templates.ImageText for correct wrapping in Firefox (due to the bug in AW.Templates.Text).

See also

Multiline text in column headers

Comments

13 Feb 08
Multiple line of text (wrapped) in a Grid Row TJ (1)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5