Forum
18:12
14/06/2011
Using 3.8.2 version of JQuery Grid
Datasource is MYSQL TinyInt column, with values of 0 or 1
Grid shows cell values of "true" | "false" , depending on the value from the table
Filter field at boolean column will work if you enter 0 or 1, but not "true" or "false"
Shouldn't they be consistent?
Thanks!
03:53
14/06/2011
ajaxgenie said:
Using 3.8.2 version of JQuery Grid
Datasource is MYSQL TinyInt column, with values of 0 or 1
Grid shows cell values of "true" | "false" , depending on the value from the table
Filter field at boolean column will work if you enter 0 or 1, but not "true" or "false"
Shouldn't they be consistent?
Thanks!
Anyone have insight on this issue? I'd really appreciate it 🙂
06:28
14/06/2011
Here's the JSON from Firebug - note the
"false,0,true,"
Those are the two boolean fields with a numeric in between
This is rails 2.3.8 with MySQL. If i run SQL on the IRB (console) command line , asking for active = 0 or active = false,
false is returned for both. With 1 or true, I see true returned.
When the search tries to filter the records, 0 entry returns false records , but false returns no records
Hope more details help to find the answer
Thanks!
Most Users Ever Online: 715
Currently Online:
15 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66