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
).