how takes multiple object in datatable
how takes multiple object in datatable

I return this in the controller.
return Json(new { listOfPath = test, data = listUser, draws = draw, recordsFiltered = recordsTotal, recordsTotals = recordsTotal }, JsonRequestBehavior.AllowGet);
in the column:
"columns": [
I can display object data
]
How takes object listOfPath in this column ??
This discussion has been closed.
Replies
Can you post some of the actual JSON that gets created, that would help understand the issue.
Colin
this picture show that the result by controller is successfully
In the script:
var oTable = $('#ListEvaluation').DataTable(
{
It run successfully but I want take listPath in this columns.
It's different to the main object, so you would need to blend it in. You could try in
columns.render
, callajax.json()
to get the last JSON response, and parse it yourself.Colin
Thank you very much, I will try it