Multiselect Dropdown

QuestionsMultiselect Dropdown
Finn Hubo asked 5 years ago

Hi,

so my db structure looks a litle like this:
Clients: client_id, …
Manager: manager_id, …

Then I have a table to connect them, because clients are supposed to have multiple managers:
Client_Manager: client_id, managher_id

So with my grid im showing the Clients table and I want to be able when add/editing to have a dropdown with which I can select multiple managers which then gets entered in the Client_manager table.

I’ve seen there are some types of callbacks but I’m not too familiar with them. Is it even possible to do this?

Kind Regards

1 Answers
Abu Ghufran Staff answered 5 years ago

Hi,

I’ve made a sample code showing many-many relation entry.

https://gist.github.com/gridphp/5f81437486a3288ffd905c8cb824ba57

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

18 + 14 =

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?