To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I need a custom checkbox implementation for displaying boolean values in a table.
When true, a green tick needs to be shown, when false a red cross.
The component is only for displaying. For editing a normal checkbox is used in a seperate form. The checkbox needs to be bound on a datasource.
I tried several things like subclassing checkbox and adding my own stylename, but it doesn't seem to work.
Has someone got some hints?
Add a generated column with the same name as your boolean column, and make it return an embedded. The embedded returned is a green tick if boolean==true and a red cross is boolean==false.