:: Documentation >>

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

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

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