How to disable mouse hover on CGridView. (when mouse over on row of GridView it not chang color)
i try to write css poperties. it not work
thank you.
How to disable mouse hover on CGridView. (when mouse over on row of GridView it not chang color)
i try to write css poperties. it not work
thank you.
try with:
.grid-view table.items tr:hover
{
background: #ECFBD4;
}
If doesn’t work, try giving an id to the grid view and using it:
#gridID table.items tr:hover
{
background: #ECFBD4;
}
If still doesn’t work, change the css with cgridView::cssFile
This does not work because CGridVew has “odd” and “even” colors for the grid which means you need to know if you’re dealing with an <tr class=“odd”> or a <tr class=“even”> and set the row accordingly. Is there a way to just turn it off?