Dynamically created table within a $.getJSON() callback failed to become a dataTable
Dynamically created table within a $.getJSON() callback failed to become a dataTable
Hi all,
I'm trying to create a table dynamically after get its content using a getJSON call.
Unfortunately, after creating the table within a , the newly created table remains a "normal" table and I can't call DataTables method such as dataTable() on it.
See live code excerpt here: http://live.datatables.net/omedem/4/edit
Any help will be greatly appreciated!
I'm trying to create a table dynamically after get its content using a getJSON call.
Unfortunately, after creating the table within a , the newly created table remains a "normal" table and I can't call DataTables method such as dataTable() on it.
See live code excerpt here: http://live.datatables.net/omedem/4/edit
Any help will be greatly appreciated!
This discussion has been closed.
Replies
Stupid of me after working with Datatables for year, on that new script I somehow omitted to load the the jquery.dataTables.js plugin...
2x duh!
Allan