Dropdown showing Name but input should use id

QuestionsDropdown showing Name but input should use id
Rudolf Wagner asked 1 year ago

In a grid I want to select a customer by its name from a foreign table but in the field I want to use the CustomerID. How can I achieve this? The dropdown selection is already working:¬†$str = $g->get_dropdown_values(“select pk as k, Kundenname as v from Kunden”)

1 Answers
Abu Ghufran Staff answered 1 year ago


If not already solved, You can check this demo code 56-75:


Demo: https://www.gridphp.com/demo/demos/search/filter-row.php

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Your Answer

12 + 15 =

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?