1
votes

I'm using ExtJs 4.1.3 and I have a simple grid (Ext.grid.Panel). I want to change the color of selected rows in that grid from default selection color to "red". I prefer do it in css file. I've already tried solution in other threads (for example this), but they don't work with extjs 4.

This is how is rendered a selected row with extjs 4: desc Could anyone help me?

1

1 Answers

2
votes

Try this:

.x-grid-row-selected .x-grid-cell-inner {
    font-weight: bold;
    background-color:red;
}