Highlight table rows when hovering

This CSS code can be used to highlight rows when hovering your cursor on a Table visual:

.highlight-row tbody tr.even:hover {
    background-color: lightyellow;
}

.highlight-row tbody tr.odd:hover {
    background-color: lightyellow;
}

Below is an example of what the style looks like when implemented:

1 Like

Thanks, This is helpful. Can you also provide a similar code for Crosstab Visual please?

@Abhijyot this likely works on the Crosstab visual as well since they’re both constructed from the same table elements.