111
Views
2
Comments
Solved
[OutSystems Data Grid] Change color of a selected checkbox in a checkbox column
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hi,

A selected checkbox in a checkbox column has a different color depending on the brower that you use. In Edge it is grey and in Chrome blue. I am trying to figure out how to change this but so far no luck in identifying which part of the css I need to change. Can anyone help please?


Regards,
Alfio Esposito

2022-01-13 11-39-41
Bernardo Cardoso
Staff
Solution

Hi @Alfio Esposito,

You can use the CSS accent-color property to change the color of the native html checkbox.

For the case of the DataGrid, you can use something like:


.wj-cell-check {

    accent-color: var(--color-primary)

}


Best regards,

Bernardo Cardoso

2019-05-02 11-42-50
Alfio Esposito

Thanks Bernardo.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.