3.0.5

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
March 4,
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)
March 6,
ok ... I'll look forward to this being fixed in the future.

Thanks
Carl
March 6,

This topic is archived.

See also:


Back to support forum