Chumper/Datatable — pull request #181 by saaiful (2014-10-13 20:47:45+00:00)
Title: setOptions Method Fix

setOptions Method fix
Code
->setOptions( array("aoColumnDefs" =>
array(
'aTargets' => [6],
'mData' => [6],
'mRender' => "
function (data, type, full) {
return '123';
}"
)))

Output:
"aoColumnDefs":
[{
"aTargets": [6],
"mData": [6],
"mRender": function (data, type, full) {
return '123';
} ,
}],