I had a similar requirement: apply the background color in the row of the table when I hover over the row with the mouse pointer, except for the "selected" row that was already highlighted in a different background color.
Using 'pointer-events: none;' achieved exactly what I wanted: JsFiddle
table#CustOrders tbody tr:hover td { background-color: LemonChiffon; } table#CustOrders tbody tr#selected { background-color: Yellow; pointer-events: none; }
source share