Hi Abu,
After upgrade from 1.5.0 to 1.5.2, the get_dropdown_values in grid filter doesn't work, but it work correctly in the edit dialog box.
2 Answers
Hello,
These 3 lines will make dropdown in search autofilter.
$client_lookup = $g->get_dropdown_values("select distinct client_id as k, name as v from clients");
$col["stype"] = "select";
$col["searchoptions"] = array("value" => ":;".$client_lookup);
Refer demos/search/autofilter.php for working demo.
Your Answer