How can I eliminate the row color changing behavior in AgGrid tables when a row is selected and hovered over using React? Currently, a default dark gray color is applied when I hover over certain elements of a selected row, which is not desired in my implementation.
The code in question is a combination of React, CSS, and Material design.
I'm unsure whether I should make modifications directly to my code or if changes need to be made in the gridoptions of the AgGrid table.
Thank you in advance for any guidance provided.
.ag-theme-material .ag-root-wrapper {
border-radius: 20px;
}
.ag-theme-material .ag-cell:hover {
background-color: #F3F9FB !important;
}
.ag-theme-material .ag-row-selected::before {
background-color: #E4F3F7 !important;
}
/* .ag-theme-material .ag-row-selected .ag-cell {
background-color: #F3F9FB !important;
} */
.ag-theme-material .ag-header-cell:hover {
background-color: #BDDAE2 !important;
}
.ag-row-hover .ag-row-selected::before {
background-color: #BDDAE2 !important;
}
I've attempted to adjust the CSS of the AgGrid and explore the GridOptions without success.