vedmack / yadcf

Yet Another DataTables Column Filter (yadcf)
http://yadcf-showcase.appspot.com/
MIT License
731 stars 285 forks source link

server-side datatabes 1.10.0 not found #59

Closed hrasguido closed 10 years ago

hrasguido commented 10 years ago

My code:

$('#table').DataTable({ "processing": true, "serverSide": true, "ajax": "source.php" }).yadcf(...);

In console (safari):

TypeError: 'undefined' is not a function (near '...}).yadcf([{...')

vedmack commented 10 years ago

Are you sure that you have included yadcf js file and what yadcf version are you using?

hrasguido commented 10 years ago

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

hrasguido commented 10 years ago

My bad, I found the error.

I was use:

$('#table').DataTable(...)

But it should be:

$('#table').dataTable(...)