:: Forum >>

How do I change a specific row height?

In my grid, I want to expand/contract a specific row based on the column (0) I click on.

I'm sure I'm just doing something wrong, but I can't figure it out.

Initially, in my grid, I have to set the row height to "32".
obj.setRowHeight(32);

Then, I have this defined and it isn't working:
obj.onCellClicked = function(event, column, row) {
if (column==0) {
if (obj.getRowHeight(row) == 32) {
obj.getRowTemplate(row).setRowHeight(110);
obj.getRowTemplate(row).refresh();
} else {
obj.getRowTemplate(row).setRowHeight(32);
obj.getRowTemplate(row).refresh();
}
}
}


Any help would be greatly appreciated.
Carl
Saturday, March 4, 2006
Carl,

it is not possible to change the height of a specific row in the current version (it might break vertical scrolling). I consider this as a bug which should be corrected in the future.
Alex (ActiveWidgets)
Monday, March 6, 2006
ok ... I'll look forward to this being fixed in the future.

Thanks
Carl
Monday, March 6, 2006

This topic is archived.


Back to support forum

Forum search