Checkbox with boolean values (true/false)
Checkbox with boolean values (true/false)
My SQL table contains a bit column for a boolean value. It renders as "True/False" in the datatable, but I'd like to represent this value as a single checkbox in the editor. Is this workaround by a user still the recommended solution:
https://datatables.net/forums/discussion/comment/76098/#Comment_76098
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The
checkbox
field type in Editor has aunselectedValue
value option (as of 1.6.0).Regards,
Allan
That did it for me once I enclosed my true/false values in quotes.
Thanks.