Parent child up to 3 levels

Parent child up to 3 levels

equintanilla82equintanilla82 Posts: 9Questions: 2Answers: 0
edited November 2020 in Free community support

This post could be implement for Parent - child - grandchild (3 level) program?

Parent / child editing in child rows:
https://datatables.net/blog/2019-01-11

If so, what changes should I consider?

Do you if I could download any complete example for this case??

Regards!
Eduardo Alan

Answers

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    See if this thread asking the same question helps. There are some examples provided in the thread.

    Kevin

  • equintanilla82equintanilla82 Posts: 9Questions: 2Answers: 0

    Hi Kevin, you are very kind.

    Your example: http://live.datatables.net/hakatehi/4/edit
    it is great!

    It is just wat I need, but I could not found the PHP code on your example.

    Could it be possible for you tho share that piece of the code?

    Thank you very much in advance!
    Eduardo Alan

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    There isn't any PHP code. There is a server script that returns the ajax data for the parent table but other than that its all JS code. What exactly are you looking for when asking for PHP code?

    Kevin

  • equintanilla82equintanilla82 Posts: 9Questions: 2Answers: 0

    I am sorry Kevin. I do not want to bother you.
    I am really inexperienced.

    I download the trial of the Editor so CRUD operations were easy. I follow the examples and tutorials to set the export button, freeze the first columns, and join tables.

    Now I have the need to set the relation to my project manager app up to 3 levels (projects, presentations-status, and activities). The parent and child example fits well, but I could not understand how to add to my current code. Also the other problem I should add is the 3 level tables, not two as the official example.

    Your code is perfect: http://live.datatables.net/hakatehi/4/edit
    but I paste the JS and HTML code in one file (JS in the head of HTML document), connected to the database of the official manual, and nothing happens.

    Could it be possible for you to share the code in a zip file?

This discussion has been closed.