Dropdown

QuestionsDropdown
Gustavo Lazaro asked 8 years ago

My grid is based on Mysql . I can make a dropdown with a table that is in dbase MSSQLServer ? Excuse my English . Thank you

1 Answers
Abu Ghufran answered 8 years ago

Hello,

To make dropdown, you need this column setting:

$col["edittype"] = "select";
$col["editoptions"] = array("value"=>'10:$10;20:$20;30:$30;40:$40;50:$50');

Now the value "key:value;key:value;key:value" can be from any database but you need to fetch that data manually byself using php code and fill in as key:value pairs.

PS: By our records, you have cancelled the contract and to use the full version legally you must buy license.

Your Answer

16 + 18 =

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?