Home › Forums › kdb+ › Column of boolean values not converting to checkboxes within a Data Grid › Re: Column of boolean values not converting to checkboxes within a Data Grid
-
Checkboxes can be rendered by configuring “Columns > Column x > Template”.
Once in template editor, you have to switch to “Advanced mode” and use Handlebars template to render the content, you can try this:{{#if thisRawValue}} <i class="mi mi-check-box" style="color: #38a338"></i> {{else}} <i class="mi mi-check-box-outline-blank" style="color: #c0c0c0"></i> {{/if}}
This example uses material icons, you can also use font-awesome icons as both are supported.