Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve Schreiner on Sep 30, 2008 07:32
open dhtmlx forum
enableRowsHover - onMouseOut (for grid)

I can correctly use enableRowsHover on my grid and the rows change color whenever I hover over a row, and the rows "un-color" whenever I leave the grid; ie it knows when I have mouseout from the grid. I need to detect mouseout for the grid and not for each row. How can I do this?

Thanks
Answer posted by Support on Sep 30, 2008 08:11
There is no built in methods for such task , but you can try to use native HTML events. 

dhtmlxEvent(grid.entBox,_isIE?"mouseleave":"mouseout",function(e){
   // code here will be called when mouse moved out from the grid
})