Hi Peter —
My bad.
The Datatable was destroyed, but not the jqxWindow; so when it executed the code
$(“#detailWindow”).on
(
‘close’,
function (event)
{
$(“#usageDataTable”).jqxDataTable(‘destroy’);
}
);
it was attaching a second handler for the ‘close’ event.
I fixed it by using $(“#detailWindow”).one instead.
Thanks for the help.