treegrid.rowDoubleClick

Hi,
I want to disable particular row in treegrid, below is my code, can you help me by correcting the code as it is not giving me proper result

rowDoubleClick:function(record, recordNum, fieldNum)
			
			{
				if(record.gcetitle=="Total"){alert();}
				else{employeeTree.openLeaf() }
			}

employeeTree is id of my treegrid.
it is giving me alert when i double click on row which have the text as Total by on rest of row it is not giving me the default behaviour as rowDoubleClick has override the default function.

Regards
Kens

If you want to retain the original functionality, call Super().

I had given try with super, but not working, below is my code, if anything please correct it

rowDoubleClick:function(record, recordNum, fieldNum)
			
			{
				if(record.gcetitle=="Total"){alert('disable'); }
				else{this.Super("rowClick",arguments);}
			}

regards
kens

You are calling rowClick in the Super() call - you want rowDoubleClick