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

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -