Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem:
Hi All
Im trying to init a Datatable based on the documentation here;
https://datatables.net/examples/data_sources/js_array.html
JSBin is here
http://live.datatables.net/dafikapu/1/edit
I dont understand what is wrong.
Ross.
You use ajax, but you need data as the data is local - see updated example here: http://live.datatables.net/dafikapu/2/edit
ajax
data
Colin
Thanks Colin. That's a bit embarrassing. Thanks for picking up on that.
Ah we've all done that - takes fresh eyes to see things sometimes,
It looks like you're new here. If you want to get involved, click one of these buttons!
Replies
Hi All
Im trying to init a Datatable based on the documentation here;
https://datatables.net/examples/data_sources/js_array.html
JSBin is here
http://live.datatables.net/dafikapu/1/edit
I dont understand what is wrong.
Ross.
You use
ajax
, but you needdata
as the data is local - see updated example here: http://live.datatables.net/dafikapu/2/editColin
Thanks Colin. That's a bit embarrassing. Thanks for picking up on that.
Ah we've all done that - takes fresh eyes to see things sometimes,
Colin