fastest way to distroy and create a datatable
fastest way to distroy and create a datatable
Hello
What's the fastest way to destroy and re-create a new dataTable?
I have a dataTable with about 100 - 200 rows. The aaData data is loaded via on page JSON. The starting point HTML I'm using is only the opening and closing TABLE tags.
I need to be able to replace the inited dataTable with a new dataTable that either:
1) Contains the same columns/functionality just a new JSON dataset.
OR
2) Is totally different and requires config from the ground up.
I've been using "bDestroy": destroy while re-initing the dataTable but it seems to take awhile especially on the 2nd our 3rd time around.
What's the fastest way to destroy and re-create a new dataTable?
I have a dataTable with about 100 - 200 rows. The aaData data is loaded via on page JSON. The starting point HTML I'm using is only the opening and closing TABLE tags.
I need to be able to replace the inited dataTable with a new dataTable that either:
1) Contains the same columns/functionality just a new JSON dataset.
OR
2) Is totally different and requires config from the ground up.
I've been using "bDestroy": destroy while re-initing the dataTable but it seems to take awhile especially on the 2nd our 3rd time around.
This discussion has been closed.
Replies
Thanks,
Allan