fnRender unknown parameter

fnRender unknown parameter

jomarvjomarv 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>';}}
],

Answers

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    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

This discussion has been closed.