aoColumnDefs method on datatable 1.10

aoColumnDefs method on datatable 1.10

hungudgmhungudgm Posts: 3Questions: 1Answers: 1
edited May 2014 in DataTables 1.10

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.