I have my code working that uses the Dropdown Selector for Filtering a column in the grid. The first item in the drop down is the \’-\’ character. The remaining are the unique/distinct values from data data in the specific column. All is working as required. I was wondering if there is a way to change the \’-\’ item to \’Show All\’ ?
1 Answers
If you don’t set it, it defaults to hyphen. To set some value, use: searchoptions[“value”] property like below:
$client_lookup = $g->get_dropdown_values("select distinct client_id as k, name as v from clients");
$col["stype"] = "select";
$col["searchoptions"] = array("value" => ":Show All;".$client_lookup);

Your Answer

