One To Many realationship editor
One To Many realationship editor

HI,
I want to know how one to many editor like parent child in one form and save only one click
This discussion has been closed.
HI,
I want to know how one to many editor like parent child in one form and save only one click
Answers
That question is too general. For most parent child relationships the number of child records is unlimited and of course the child records will have multiple fields. That may not fit into the form ergonomically.
But in many cases it works:
In this example: https://editor.datatables.net/examples/advanced/joinArray.html
"permission" is the child table and "users" is the parent table. As you can see you can edit the child table in one form and you can save it with only one click. Strictly speaking you are not editing the child table because you can't add more permissions to the permissions table. You can only assign existing permissions to the user.
But you could write the code in a way that you add permissions on the fly and then assign them to the user. That is possible using "Selectize" for example.
Thank you rf,

I already seen this example (https://editor.datatables.net/examples/advanced/joinArray.html), but i want to know about like below image. is it possible?