fnDraw not working as expected when datasource is JavaScript array, bug?

fnDraw not working as expected when datasource is JavaScript array, bug?

TehNrdTehNrd Posts: 3Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
If I edit the html on the page and then call fnDraw() on the table the html is not being reset to what is stored in the source JavaScript Array.

In this example, http://datatables.net/release-datatables/examples/data_sources/js_array.html , use the browsers dev tools to modify one of the contents of a . For example change Firefox 1 to 'test123'.

The in the console execute $('#example').dataTable().fnDraw();

I expected this to replace "test123" with the data that was from the original JavaScript array the table was built from, Firefox 1, but nothing is happening. What do I need to do for the table to reset based on the source JavaScript array data?

Thanks,
Jason
This discussion has been closed.