Datagrid class on cell? or CSS technique to style one cell in a row

0
I would like to add some styling to a specific columncell in a datagrid. Does anyone have an idea? A templategrid or listview is not an option because we need clickable sorting (and searching) please see: https://app.box.com/s/hoeo9hia1l1noqsqzbyu7zsn073jizgl
asked
1 answers
1

Are you talking about that .mx-grid class thing?

Style specific row:

.mx-datagrid tr:nth-child(4){
    background: #ff0000!important;
}

Style specific cell

.mx-datagrid tr:nth-child(2) > td:nth-child(3) {
    background: #00ff00!important;
}

Style specific col

.mx-datagrid td:nth-child(3) {
    background: #0000ff!important;
}
answered