date time not displayed properly from my datatable (dateofexam)

date time not displayed properly from my datatable (dateofexam)

PSPS Posts: 1Questions: 1Answers: 0
edited September 2016 in Free community support

function getEvaluateExamList(examYear) {
$("#tblExamList").DataTable({
"ajax": {
"url": "/Studentdashboard/GetExamList/?year=" + examYear,
"type": "POST",
"datatype": "json",
},
columns: [
{ "data": "examcode", "width": "15%", },
{ "data": "examname", "width": "20%", },
_ { "data": "dateofexam", "width": "15%", },_
{ "data": "duration", "width": "15%", },
{ "data": "appearstatus", "width": "15%", },
{ "data": "percent", "width": "15%", },
{ "data": "resultstatus", "width": "15%", },
{
"data": "examid",
"width": "10%",
"align": "center",
"mRender": function (sourceData, type, row) {
return "<input type='button' id='btnstatus' class='btn btn-warning' data-toggle='modal' value='Result' onclick='GetReview(" + sourceData + ",\"" + row.appearstatus + "\");' />";
}
}
],
destroy: true
});
}

This discussion has been closed.