Hello,
I'm trying to make multi-select filter.
It works well when i add it in a grid load from database.
If i use an array as datas, i can make the filter but:
– If i select one value –> no problem
– if i select more than one value –> the grid show "No records to view"
Do you have any know issue about this ?
My col has the following data:
$col = array();
$col["title"] = "Fabricant";
$col["name"] = "manufacturer_name";
$col["dbname"] = "manufacturer_name";
$col["width"] = "150";
$str = $g->get_dropdown_values("select DISTINCT(`manufacturer_name`) as k, `manufacturer_name` as v from `manufacturers` ORDER BY `manufacturer_name` ASC");
$col["stype"] = "select-multiple";
$col["searchoptions"]["value"] = $str;
$col["export"] = True;
$cols[] = $col;
Thanks
Mofel