:: Forum >>

a cell double click event

Hi everyone,

There is my problem : I want to know how to retrieve the column value of the cell on which a dblclick action was performed.

Here the code I use to retrieve the content of the cell on a dblclick :

var mydblAction = function(src){
var source = window.event.srcElement;
alert(source.innerText);
}
obj_MyGrid.setAction('dblclick', mydblAction);
obj_MyGrid.setEvent('ondblclick', function(){this.action('dblclick')});

Is there any way to assign a dblclick action directly on a cell ? and retrieve all the information about it ?

The following lines don't work :
var i = src.getProperty('row/index');
var j = src.getProperty('column/index');

Thanks in advance
ST.
Thursday, June 10, 2004

This topic is archived.


Back to support forum

Forum search