I have 3 database tables. The first is users
, the second is tasks
and the third is tasks_per_user
, where i store the relations between users and tasks. A user can have many tasks (or all) and each tasks may belong to many users.
What i want is to create in jqGrid a Multiple Selection Element, where i can list the selected tasks per user, but also be able to change it. I want the list element to present all the available tasks from the tasks
table while present as selected the ones that are stored in the tasks_per_user
for the specific user.
I have managed to do this for a single select element but i can't make it work for multiple.
Is this possible?