datatable - Data Table Error :: Cannot read property 'fnSetData' of undefined -
initial code looks this.. var otable = $('#sim_data').datatable( { aocolumns: [ {"sname": "ss" },{"sname": "sim_no"}, {"sname": "sale_price"}, {"sname": "purchased_price"},{"sname": "status"} ] }).makeeditable({ ..... });
only when try initialize aocolumns above returns error
cannot read property 'fnsetdata' of undefined
and out initialization works
i had same problem today. make sure number of elements in "aocolumns" matches number of columns have in table.
in case, problem.
Comments
Post a Comment