How do I change the multiple select box size so more than one value shows?
See attached image for Alert Staff:
Here is the code I have for
//ALERT
$col = array();
$col[“title”] = “Alert Staff”; // caption of column, can use HTML tags too
$col[“name”] = “alert”; // grid column name, same as db field or alias from sql
$col[“formatter”] = “select”;
$col[“show”] = array(“list”=>true, “add”=>true, “edit”=>true, “view”=>true, “bulkedit”=>false);
$col[“editable”] = true;
$col[“editrules”] = array(“required”=>true);
$col[“edittype”] = “select”;
$col[“editoptions”] = array(“value”=>’John:John;Sharae:Sharae;Paul:Paul;Anthony:Anthony’, “multiple” => true);
$col[“editoptions”][“size”] = 8;
$cols[] = $col;
Hello,
You can set following, and adjust height with css.
$col["editoptions"]["style"] = "height:200px"; $cols[] = $col;