Datatable rows with validation errors when selected look weird - bug?

Hi,
When datatable rows showing validation errors are selected sometimes the selected row has the correct green background and sometimes it still has the original light-red one. Please see the following example

https://snippet.webix.com/3wswvm3q

Click on rows 2, 3, and 4 to see the problem. Possibly a bug?

Comments

  • Perhaps a bug in css ":nth-child(even)". Has to be confirmed by webix team ?

  • Hello @romant1 ,
    Yes, it's a bug. Thank you for the issue!
    We will fix it.
    As fast solution, please, add style like next

    <style>
    .webix_column>div.webix_row_select, .webix_column>div.webix_invalid.webix_row_select:nth-child(even){
        background: #27ae60;a
    </style>
    

    Example: https://snippet.webix.com/vhht7a0i

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion