Drop Down

QuestionsDrop Down
John Godish asked 10 years ago

I have a column defined an edittype of select with these values;

$col1["editoptions"] = array("value"=>'0:Due In;1:Received;2:Due In Confirmed');

When the grid is rendered the key values show 0,1 or 2 unless you click on the row then the string values show such as Due In

How do I get the strings to show when the grid is initially rendered?

1 Answers
Abu Ghufran answered 10 years ago


$col["formatter"] = "select";

Your Answer

19 + 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?