Here
I have to delete the table and then repopulate it with the data but fnDestroy does not seem to work
Yep, try destroy(), see here.
destroy()
Colin
Just to add to Colin's comment. You are getting this error in the browser's console:
Uncaught TypeError: $(...).DataTable(...).fnDestroy is not a function
Kevin
Here give me a hand please I would like to create a dynamic table with unknown number of columns, my table is created easily, but then I have problems when the table already exists
You saved me a night of research @Massimo74 ! Thank you so much.
It looks like you're new here. If you want to get involved, click one of these buttons!
Replies
Yep, try
destroy()
, see here.Colin
Just to add to Colin's comment. You are getting this error in the browser's console:
Kevin
Here
give me a hand please I would like to create a dynamic table with unknown number of columns, my table is created easily, but then I have problems when the table already exists
You saved me a night of research @Massimo74 ! Thank you so much.