hy abu,
i working with subgrid..
i was adding dropdown in subgrid detail..
but i got an error message when i debug using firebug..
is there any clue?
how to add dropdown in subgrid?
1 Answers
I have tested dropdown in subgrid detail, it works as expected by the code.
Refer dropdown sample, OR update the error code / screenshot via email ([email protected])
$col["edittype"] = "select"; // render as select
$str = $g->get_dropdown_values("select distinct client_id as k, name as v from clients");
$col["editoptions"] = array("value"=>$str);
$col["formatter"] = "select"; // display label, not value$cols[] = $col;
$cols[] = $col;
Your Answer