3.2.0

target id for events originated from grid

I have the following code in my javascript:

//grid
.
.
.
obj.onSelectedRowsChanged = function(){
document.forms['myform']['x'].value=this.getSelectedRows()[0];
document.forms['myform'].submit();
return false;
}


// in page <head> tag

window.onbeforeunload=catchEventInFireFox;

function catchEventInFireFox(e){
var eid=e.target.id;
alert( "event source element is: " + eid );
}


On AW v1.0, clicking on a grid row would cause the alert satement to show something like: "obj.data.item.2"

On v2.0 it shows 'undefined'

I wonder if events originated from the grid and being picked up by the html do not have the target id ascociated with them anymore...
I really need this feature and would appreciate any help

Thanks
Adi
July 30,

This topic is archived.

See also:


Back to support forum