Trying to use Jquery DataTable plugin, calling api function
column()
on datatable object errors out
Uncaught TypeError: undefined is not a function
Created plunker link http://plnkr.co/edit/LymRnduvhXHYfiqeDio6?p=preview my code
$(document).ready(function(){
var table=$('#myTable').dataTable( {
"scrollX": true,
"dom": '<"toolbar">frtip'
});
table.column(3).search('1998').draw();
});
call to function columns on table object errors out, api link http://datatables.net/reference/api/column()
what is wrong in my code? I am using the 1.10.2 version.