Hello,
thank you for providing ColReorder!
- I initialize a table with a reorder
OCA.Analytics.tableObject = new DataTable(domTarget, { colReorder: { order: [0, 2, 1, 5, 6, 4, 3]} })
- I destroy the table
OCA.Analytics.tableObject.destroy();
- I initialize a table without a given order
OCA.Analytics.tableObject = new DataTable(domTarget, { colReorder: true })
- The table columns are off
- Adding a
OCA.Analytics.tableObject.colReorder.reset() before the destroy does not make a difference. something seems to be kept in memory somewhere?
- doing a draw() after the table is displayed will correct the display, but this is not intended
- doing a full refresh into the second table, it is shown correctly
reordered table:

normal table after coming from the reordered one:

Hello,
thank you for providing ColReorder!
OCA.Analytics.tableObject = new DataTable(domTarget, { colReorder: { order: [0, 2, 1, 5, 6, 4, 3]} })OCA.Analytics.tableObject.destroy();OCA.Analytics.tableObject = new DataTable(domTarget, { colReorder: true })OCA.Analytics.tableObject.colReorder.reset()before the destroy does not make a difference. something seems to be kept in memory somewhere?reordered table:

normal table after coming from the reordered one:
