Title: Ondoubleclickrow expand and collapse row Post by: Alfred on March 30, 2017, 01:34:20 AM I use the following code to expand the row.
Code: onDblClickRow:function(index,row){ I want to add collapseRow methods if the row is expanded. How do we know whether the row is expanded and add the collapseRow method in it? My attempt looks like below code: Code: onDblClickRow:function(index,row){ How do we know which row expands? I am also trying the following code but it is not working, and there is no error as well. Code: var expander = $(this).datagrid('getExpander', index); Title: Re: Ondoubleclickrow expand and collapse row Post by: Alfred on March 30, 2017, 01:57:24 AM I just solved it using the following code:
Code: onDblClickRow:function(index,row){ |