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

Popular posts from this blog

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -