Initial code looks like this..
var oTable = $('#sim_data').dataTable( {
aoColumns: [ {"sName": "ss" },{"sName": "sim_no"}, {"sName": "sale_price"}, {"sName": "purchased_price"},{"sName": "status"} ]
}).makeEditable({
.....
});
只有当我尝试像上面那样初始化 aoColumns 时才会返回错误
Cannot read property 'fnSetData' of undefined
没有这个初始化它就可以工作