Mouse out event for a element in DataView

Hi

I have written code for mouse over for a element in dataview

data.on_mouse_move[“my_imagex”] = function(e){
var id = this.locate(e);
var c=data.get(id);
c.State_change_id=3
data.refresh();
}

but im unable find the mouse out event…i have tried data.on_mouse_out…but its not working…can u please help me out…

Seenu

Hi,

this approach will work only for on_click. In case of mouseout event, you may set onMouseMove and onMouseOut event handlers:

dataview.attachEvent("onMouseMove ",function(itemId,e,trg){
/your code here/
})
dataview.attachEvent("onMouseMoving ",function(e){
/your code here/
})