DoubleClick event cell oriented in grid

Hi,



I’ve got the problem that in a grid different cells must be set to “ron” because of sorting issues. I want to react an a double click at this cells, because this page should redirect to another one depending on cell. I found a solution using cell type “ed” and filtering the row id like



function doOnCellEdit( stage, rowId, cellInd ) {

    

var data = rowId.split( “_” );

if ( data[0] == “adm30” ) {

if ( cellInd == 0 ) {

location.href=“index.php?..∓amdID=”+data[1];

} else if ( cellInd == 1 ) {

location.href=“index.php?..&admID=”+data[1];

}

return false;

} else {

return true;

}



But in this case the sorting feature does’nt work correct because the cell content will be interpret as string and not as number.

Do you have a proposal for me?



Or is there a method to get an event for double click on cell base.



Thanks for help

Klaus

does’nt work correct because the cell content will be interpret as string and not as number.
you can use edn instead of ed , it is editabale cell with same number functionality as ron

>>Or is there a method to get an event for double click on cell base.
mygrid.attachEvent(“onRowDblClicked”,function(id,ind){
//any custom code
})

Thanks for that perfect hint. I’m working with that tool since some days and that’s the reason why I put several stupid questions to reach my objectives asap.