table.ajax.url(url).load options ?
table.ajax.url(url).load options ?
mpoirier101
Posts: 3Questions: 3Answers: 0
I want to specify an empty dataSrc ajax option but table complains about this.
var $table = $('#table').DataTable({
ajax: {
dataSrc: ''
},
I do not want to retrieve data on table creation, I use the "table.ajax.url(url).load" method...
How can I set this option on the method ?
Thanks !
This discussion has been closed.
Answers
Hi mpoirier,
It's not possible to set the Ajax dataSrc after initialisation. See this thread for more suggestions.
Cheers,
Colin