Page 1 of 1

Checkbox column not a checkbox on the list

PostPosted: Wed Feb 03, 2010 8:44 am
by BlueDevilDan
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?

Re: Checkbox column not a checkbox on the list

PostPosted: Thu Feb 04, 2010 12:15 pm
by shannah
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.