In the model I’m using complex data columns, i.e. I get a new value as a function of the column.
How can I generate a checkbox column for the generated column? Well, I can generate the column of checkboxes, but I wonder if I can make some of these checkboxes to be checked based on its value.
For example with this code, I can generate the column of checkboxes using values generated by “calculate_new_value”, but I don’t know how to have checkboxes checked.
But I still wonder if there would be a simpler way of generating checked checkboxes based on its value. I can generate a column of 0’s and 1’s and I’d love to be able to use that value to determine the checkboxes status.