Skip to content

How can I disable the row hover highlighting? #1082

Answered by LRHF
LRHF asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @ghiscoding
This finally worked:

$slick-row-mouse-hover-color: transparent;     

// Keep odd rows background color on hover (otherwise it's transparent).
.slickgrid-container .ui-widget-content.slick-row.odd:hover {
  background-color: #f2f2f2;
}

Notes:

  • unset does not work since there are some calculations in CSS.
  • This style also works but only when using transparent and !important:
:root {
  --slick-row-mouse-hover-color: transparent !important;
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@LRHF
Comment options

Answer selected by LRHF
@ghiscoding
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants