Closed hrasguido closed 10 years ago
Are you sure that you have included yadcf js file and what yadcf version are you using?
I'm using 0.7.7.beta.1, in the header I have this:
<script src=jquery.dataTables.yadcf.js">
It works to simple table, but in server-side it doesn't
My bad, I found the error.
I was use:
$('#table').DataTable(...)
But it should be:
$('#table').dataTable(...)
My code:
$('#table').DataTable({ "processing": true, "serverSide": true, "ajax": "source.php" }).yadcf(...);
In console (safari):
TypeError: 'undefined' is not a function (near '...}).yadcf([{...')