Column index in mouseover callback

Hello all,

I'm trying to get the index of a column in the mouseover callback, but everything I try doesn't work. Here's what I'm doing:

var tmpHeader = new Active.Templates.Header;
tmpHeader.setEvent("onmouseenter", "mouseover(this, 'active-header-over')");
myGrid.setTemplate("top/item", tmpHeader);

What I'm doing is changing the 'mouseover(this,...)' callback to be my own function. But I don't have access to the corresponding column object. The 'this' pointer is just a DivHTMLObject (which makes sense). I've tried:

tmpHeader.setEvent("onmouseenter", function(src){alert(src)});

and various other variations, but nothing seems to work.

Can someone give me a hint? Btw, I'm using v. 1.0.2

Brian Kreulen
March 13,
no one?
Brian Kreulen
March 14,

This topic is archived.

See also:

Back to support forum