I have a column that in MySQL is defined as BOOLEAN. (so it stores only 0 and 1)
1 2 3 |
$grid->setColProperty('mycolumn', array("stype"=>"select", "searchoptions"=>array("clearSearch"=>false, "value"=>"1:1;0:0"))); $grid->toolbarfilter = true; |
The filter appears in the toolbar but when I select something, it does not select any rows (empty table) as if there were no 0 or 1 values in that column in any of the rows, but there are plenty.
What am I doing wrong?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top