Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gabi on Jul 09, 2008 22:31
open dhtmlx forum
Row hovering question

hi.

I'm using mygrid.enableRowsHover(true,'grid_hover'); to show hovering.

this works really well on FF2.0 and FF3.0.

however, it does not work in IE7... why?
Answer posted by Support on Jul 10, 2008 02:30
The code works the same in both IE and FF ( please check attached sample )
If it show different results in your case - please be sure that you not using any special styling in case of IE, which may redefine styles used for row howering.

If problem still occurs for you - please provide any kind of sample where issue can be reconstructed.
Attachments (1)
Answer posted by gabi on Jul 10, 2008 02:39
You are right.... my bad.

I guess we did overwrite it.

Which css property is used for the hovering?
Answer posted by Support on Jul 10, 2008 03:38
The second parameter of enableRowsHover is a name of css class , which will be assigned to row under cursor, so you can use any row styling there.
The sample attached to previous email uses background-color to set color of row
To be sure that hovering color will override any others, you can add !important attribute
.row_hover{
    background-color: red !important;
}
Answer posted by gabi on Jul 10, 2008 04:19
Thank you! the hover is working good.