I need some help to pass Json parameter to the datatable
I need some help to pass Json parameter to the datatable
![priyankabhattad](https://secure.gravatar.com/avatar/afa9a4f4ba8be7844bc1087411e5e918/?default=https%3A%2F%2Fvanillicon.com%2Fafa9a4f4ba8be7844bc1087411e5e918_200.png&rating=g&size=120)
I have the json string returned from the database. The representation is
var myList = [ {
"name" : "abc",
"age" : 50,
"hobby" : "swimming"
}, {
"name" : "pqr",
"age" : 25,
"hobby" : "swimming"
}, {
"name" : "xyz",
"age" : 75,
"hobby" : "programming"
} ];
How do I pass this to the datatables.? I have looked for the Ajax json calls, but the implementation is not working.
This discussion has been closed.