How to highlight (using a color) a selected row (on double clicking) in a data grid?

In a search pop up page on hitting on search after giving our criteria the results will be displayed. The results are in a data grid which are huge. In our application, we have enabled a selection on double clicking. Here we have a requirement, to highlight a row (using color) on double clicking a selected row in a data grid (in a search pop up results) just to indicate that a row has been selected.
1 answers

You can do it with css (in the main.css file). 

When a row is selected, the class “selected” is added. So you just need to add css on that class. 

something like : 

.mx-datagrid .selected div{