Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

Update TypeError: Cannot set property '_aData' of undefined ( + jsfiddle)

$
0
0
Hi everyone!
I've just started using the DataTables 1.9.4, and found this issue on a (possibly) simple thing for you.
If you run this code on this page, http://jsfiddle.net/HEDvf/524/ , you will get the error shown on the subject of this page. Note that I've loaded all files needed for displaying the table along with bootstrap (as in the website example).

The init code is at the javascript frame.

Here are my questions:
1. I want to update the entire datatable, (var dtable), whith a new array of data. Why isn't this code working?
2. Since I want to replace the entire table multiple times, should I better use 'fnDestroy' so as to clear memory? Otherwise, will fnUpdate NOT leak any memory of not-needed data?

Thank you in advance! :)

Viewing all articles
Browse latest Browse all 1816

Latest Images

Trending Articles



Latest Images