Hello,
How must i do if my dropdown not from database. Example: Jan, Feb, etc.
Regards,
Samsun
3 Answers
Render as select (dropdown), with these values "key:value;key:value;key:value"
$col["edittype"] = "select";
$col["editoptions"] = array("value"=>'10:$10;20:$20;30:$30;40:$40;50:$50');
// For multiselect, you probably need to write custom on_update handler
$col["editoptions"] = array("value"=>'10:$10;20:$20;30:$30;40:$40;50:$50', "multiple" => true);
Hello,
I try follow your advice, but in grid show not the vale. Example: 1:january, the show is 1.
Your Answer