Is there a way to apply CSS styles to even or odd rows on a datatable like the Flat/Compact skin?
You can apply any styling to webix column div:
.webix_column > div{}
I’d take care of “selected” as well: http://webix.com/snippet/95f7bbe4
.webix_column > div:nth-child(2n) {
background-color: #F7F7F7;
}
.webix_column > div.webix_cell_select:nth-child(2n), .webix_column > div.webix_column_select:nth-child(2n), .webix_column > div.webix_row_select:nth-child(2n) {
color: #fff;
background: #27ae60;
}
Perfect, thank you!
GREAT!
This could be part of default CSS also