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".
Then, I have this defined and it isn't working:
Any help would be greatly appreciated.
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,