Question about what happens to the Tags DataTable on destroy()

Question about what happens to the Tags DataTable on destroy()

Loren MaxwellLoren Maxwell Posts: 475Questions: 115Answers: 10
edited December 15 in Editor

I have a table where the child rows create their own editor when opened and the editor is destroyed when the child row is closed.

The editors for those child rows have tags, which of course have their own instance of a DataTable included.

I've noticed that each time I open and close a child row (and thereby creating/destroying the child row editor) I have some residual DataTables coming from somewhere.

While troubleshooting, I noticed when I don't include the child row Editor, the residual DataTables don't appear.

I haven't been able to pinpoint where those DataTables are coming from in my own code (so far), so I'm wondering if the residual DataTables are the ones associated with the tags and those aren't destroyed when the Editor itself is destroyed.

Does that sounds possible? Or do I need to continue checking my own code?

Answers

  • allanallan Posts: 65,421Questions: 1Answers: 10,864 Site admin

    Hi Loren,

    I haven't been able to recreate this issue I'm afraid. That isn't to say that there is not a bug in this area, it is possible and I've just not found the right combination to trigger it though. Are you able to give me a link to a page showing the issue so I can debug it a bit?

    Thanks,
    Allan

Sign In or Register to comment.