Parent/Child editor is closing the parent on update.

Parent/Child editor is closing the parent on update.

jordonshawjordonshaw Posts: 15Questions: 6Answers: 0

I'm using Editor with a parent/child setup:

When you update a record, it's supposed to simulate a "click" on the parent in order to not close it out; however, that doesn't seem to be happening. Here is the function that isn't working for me:

Any help you can provide would be greatly appreciated.

Thanks,
Jordon

Answers

  • allanallan Posts: 54,921Questions: 1Answers: 8,611 Site admin

    Hi Jordon,

    Can you give me a link to a page showing the issue please? I'm not seeing [our example here[(https://datatables.net/blog/2019-01-11) collapse the host row when you edit a child row and it utilises that code, so I'm not sure what is going wrong in your own example.

    Allan

  • jordonshawjordonshaw Posts: 15Questions: 6Answers: 0

    Allan,

    Sorry, my page isn't public; however, the link you sent doesn't seem to work for me. Can you point me in what I need to look for in the blog and maybe I can figure out what I'm doing wrong?

  • colincolin Posts: 12,978Questions: 0Answers: 2,209

    It was just the bracket on the end - this is the limk: https://datatables.net/blog/2019-01-11

    Colin

  • jordonshawjordonshaw Posts: 15Questions: 6Answers: 0

    Thank you for the reply, Colin. That's the actual page I used to create what I have done. As you can see, this is the code from the page:

    which matches my code above, perfectly. :# The table on the page works exactly as I hoped mine would. I hate when this happens. Guess I'm back to the drawing board to see what's going on. Thank you both!

  • colincolin Posts: 12,978Questions: 0Answers: 2,209

    Odd, since as you say it's working in the example. If you're able to provide a tunnel to your page, please PM Allan or myself and we'd be happy to take a look,

    Colin

Sign In or Register to comment.