Hello,
I am using a in select to allow user to update the store directly within the grid with this code.
$col = array();
$col[“title”] = “Store”;
$col[“name”] = “Sa_Store”;
$col[“width”] = “40”;
$col[“search”] = true;
$col[“editable”] = true;
$col[“edittype”] = “select”; // render as select
$str = $g->get_dropdown_values(“select store as k, store as v from lab_samples_locations”);
$col[“editoptions”] = array(“value”=>$str);
$col[“formatter”] = “select”; // display label, not value
$col[“stype”] = “select”; // enable dropdown search
$col[“searchoptions”] = array(“value” => “:;”.$str);
$col[“editoptions”][“dataInit”] = “function(){ setTimeout(function(){ link_select2(‘{$col[“name”]}’); },200); }”;
$cols[] = $col;
The select rendering correctly but immediately after it get very small and we can not see any choices.
Happening in IE and Chrome.
Any helps?
Thanks,