dropdown in subgrid

Questionsdropdown in subgrid
Sulaiman asked 11 years ago

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
Abu Ghufran answered 11 years ago

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

18 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?