fnRender unknown parameter
fnRender unknown parameter
jomarv
Posts: 1Questions: 1Answers: 0
ajaxsource = [{"PLU":"P01","item_id":"101"},{"PLU":"P02","item_id":"102"}];
"aoColumns": [
{ "mData": "PLU", "sClass": "plu" },
{ "fnRender": function (obj) {return '<button id="delete" title="delete" ref="'+obj.aData['item_id']+'"><i class="glyphicon glyphicon-trash"></i></button>';}}
],
This discussion has been closed.
Answers
fnRender is no longer supported as it has been removed in v1.10.I would suggest you update to 1.10 and use
columns.render
. Also, in future, please follow the forum rules and link to a test case showing the problem.Allan