unable to load datatable with json data from ajax call
unable to load datatable with json data from ajax call
neelma
Posts: 2Questions: 0Answers: 0
I have a form, on click of Search , it makes an ajax call to servlet thar returns a JSON respose. (attached json format which is an array of objects). I am trying to load my dataable with the returned data but table is never loaded at all and it shows Loading.. message. The same json works fine when i use an external file and point sAjaxSource to the file.
Heres the fiddle link: https://jsfiddle.net/gnfnaeq9/
Please help.
This discussion has been closed.
Replies
is this the right approach? please suggest