This question is locked. New answers and comments are not allowed.
Hi,
I want to expand/collapse the row details on row selection too. I got the expanding working. However for collapsing is there a way to check the row state(expanded/collapsed).
My client side event handler for row selection is as follows
function onRowSelected(e) {
var grid = $(e.target).data('tGrid');
grid.expandRow(e.row);
}
Can you please let me know how to collapse the row if it was expanded already ??
thanks in advance,
Srikanth.
I want to expand/collapse the row details on row selection too. I got the expanding working. However for collapsing is there a way to check the row state(expanded/collapsed).
My client side event handler for row selection is as follows
function onRowSelected(e) {
var grid = $(e.target).data('tGrid');
grid.expandRow(e.row);
}
Can you please let me know how to collapse the row if it was expanded already ??
thanks in advance,
Srikanth.