You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem regarding boolean values. In my Table I have multiple boolean(tinyint) fields with either 0 or 1.
For the presentation in my DataGrid I use an enum-type like this:
[cut] "type"=>"enum", "source"=>$boollist [cut]
the enum is declared as follows:
$boollist = array(0=>"No", 1=>"Yes")
Fields that hold the value 1 are "converted" correctly, fields with value 0 are not. For testing purposes I changed all 0 to 3 (both in DB and in the enum) which is working so it looks like the index 0 somehow doesn't work correctly.
Thank you in advance.
Kind regards,
Shenzu
The text was updated successfully, but these errors were encountered:
Hello everyone,
I have a problem regarding boolean values. In my Table I have multiple boolean(tinyint) fields with either 0 or 1.
For the presentation in my DataGrid I use an enum-type like this:
[cut] "type"=>"enum", "source"=>$boollist [cut]
the enum is declared as follows:
$boollist = array(0=>"No", 1=>"Yes")
Fields that hold the value 1 are "converted" correctly, fields with value 0 are not. For testing purposes I changed all 0 to 3 (both in DB and in the enum) which is working so it looks like the index 0 somehow doesn't work correctly.
Thank you in advance.
Kind regards,
Shenzu
The text was updated successfully, but these errors were encountered: