ColVis ineffective when new data with different columns

ColVis ineffective when new data with different columns

JigarJigar Posts: 2Questions: 1Answers: 0

Hello

We are using colReorder, colVis and responsive in our datatables. We also have a drop-down menu to select and view a different data (with different column headers). It works fine when initialized for the first time. But, when we select reinstate it with new data (by selecting from dropdown), the colVis and Responsive stops functioning.

Is there a way we can reinitialize the datatable so that it adjusts according to a new table structure?

Regards,
Jigar

This discussion has been closed.