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
Hi,
I’ve made a sample code showing many-many relation entry.
https://gist.github.com/gridphp/5f81437486a3288ffd905c8cb824ba57
Your Answer