Checkbox column not a checkbox on the list

Archived from the Xataface Users forum.

BlueDevilDan — Wed Feb 03, 2010 8:44 am

I have a boolean column in my mySQL database. I defined in in fields.ini to be widget type of checkbox. When I look at the individual row for edit or new record, I see it as a check box, but on the listing displays it displays as a 0 or 1, not a check box.

Is this expected? Or is it a bug?


shannah — Thu Feb 04, 2010 12:15 pm

It is expected, but your suggestion to make it look like a checked box is a good one. You can override how this field is displayed by implementing the fieldname__display() or fieldname__renderCell() methods.