basic search help
basic search help
kwapster
Posts: 6Questions: 4Answers: 0
I am testing out DT with a basic search example. Any idea why the following is not working?
live.datatables.net/bedukufu/1/edit
This question has an accepted answers - jump to answer
Answers
You can just move doSearch() outside initComplete to make it work but perhaps you were wondering why it doesn't work to call it from inside initComplete. That, I don't know
Thanks for the reply, that's correct I realized i could move it around to get it to work. but I'm wondering what's the logic behind it not working inside initComplete.
Within
initComplete
, the initialisation wouldn't have completed, sotable
would be undefined. You can usethis.api()
to get the table object there - something like this: http://live.datatables.net/bedukufu/6/editColin