Hi Jeff
If you are using DataGrid 1, you can do it by giving a css class to the specific column, e.g. isactive-column and you can write css like this. Example:
.isactive-column {
&[title=No] {
&::before {
content: "\f111";
font-family: "Font Awesome 6 Free";
font-weight: 900;
width: 15px;
height:15px;
font-size: 15px;
margin-bottom: 4px;
color: $gray-dark;
}
div {
display: none;
}
}
&[title=Yes] {
&::before {
content: "\f111";
font-family: "Font Awesome 6 Free";
font-weight: 900;
width: 15px;
height:15px;
font-size: 15px;
margin-bottom: 4px;
color: $green;
}
div {
display: none;
}
}
}
This will give Green color for "Yes" and Grey color for "No", you can easily change it to color of your liking.
It will look like this:
The second way, which is the easier way I would say.
Use Datgrid2 and use that boolean attribute to set custom visibility, like the picture below:
Use icons of your liking and set visibility by attributue, if it is TRUE, show checkmark, if it is FALSE, show x
Hope this helps