3.2.0

Row height in different cells

Hi,

i want to set row heights in different rows. How can i set those heights?
like for first row : dynamically will change

grid.getTemplate("row", 0).setStyle("height", ((baiArray.length*20)-10)+"px");
grid.getTemplate("row", 1).setStyle("height", "20px");
grid.getTemplate("row", 2).setStyle("height", "60px");
grid.getTemplate("row", 3).setStyle("height", "20px");

then scroll bal is not working for all rows.

if set like below, row height is setting for all rows.

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

then scrol bar is working properly but every row height is setting same size(i.e 60or 80)

Could you pelase help me ?
Regards,
Srini.
Row height in different cells
July 30,
The current version does not allow different row heights for different rows. It is only possible to set the same height for all rows with CSS or setRowHeight method.
Alex (ActiveWidgets)
July 30,

This topic is archived.

See also:


Back to support forum