Does anybody know of a way to force a specific data grid to not change colors when selected?
I have tried to add a “jts-row-no-select” to the rows and then set the following css in my solution:
.ag-table .ag-row-selected:not(.jts-row-no-select) {
background-color: @table-row-selected-bg-color;
color: @table-row-selected-text-color;
}
This doesn’t work, I’m guessing because “.ag-row-selected” is defined somewhere else (probably in the grid package). And I still need the row to be active because I have an onCellClick() event defined. In this specific grid I just don’t want the row highlighted.