Add entries to a table B whilst editing an entry in table A

Add entries to a table B whilst editing an entry in table A

afickeraficker Posts: 2Questions: 1Answers: 0
edited January 2023 in Free community support

Hello everyone,

I'm pretty new working with the datatables editor and couldn't find a solution to the following use case. Can some please help me, to find the docs/an example or give me a hint on how to accomplish the following:

I'm using datatables editor to edit entry X in table A.

In a subsection of the editor window I want to add multiple entries to a table B, which are linked to the entry X.

Everytime I open X from table A, i want to see the (editable) list of entries of table B, linked to X (A.id stored in B.a_id).

Thanks for any hint!

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    This example here sounds just like what you're after. It's demonstrating parent/child editing. Would that do the trick?

    Colin

  • afickeraficker Posts: 2Questions: 1Answers: 0

    Hey Colin, thank you for the quick reply.

    Yes, that looks good! I'll try that one!

    Thanks, Andi

Sign In or Register to comment.