Parent/Child editor is closing the parent on update.
Parent/Child editor is closing the parent on update.
jordonshaw
Posts: 23Questions: 9Answers: 0
in Editor
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
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
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?
It was just the bracket on the end - this is the limk: https://datatables.net/blog/2019-01-11
Colin
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!
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