aoColumnDefs method on datatable 1.10
aoColumnDefs method on datatable 1.10
hungudgm
Posts: 3Questions: 1Answers: 1
Hello.
Please help me write code on the datatable 1.10 that aoColumnDefs like:
aoColumnDefs: [
{
aTargets: ["mdtDate"],
sType: 'date',
fnRender: function (oObj, sVal) {
return new Date(parseInt(sVal.replace("/Date(", "").replace(")/", ""), 10)).format("dd-mmm-yy");
}
}]
Thanks for your help
This discussion has been closed.