Checkbox column not a checkbox on the list

A place for users and developers of the Xataface to discuss and receive support.

Checkbox column not a checkbox on the list

Postby 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?
BlueDevilDan
 
Posts: 11
Joined: Thu Jan 28, 2010 7:23 am

Re: Checkbox column not a checkbox on the list

Postby 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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 11 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved