Ok I have integrated Datatables to my table and pagination, search box and limit drop down appears. Now my question is, where or how do I define the event handlers when these elements are clicked, selected, etc?
DT 1.8 doesn't have subscribable events. This is going to be part of DT 2. If you want them now, you might have to hack the source code to add event triggers.
The DOM elements for search, pagination, display length, etc are put into divs on the page with predictable names (length is {tableid}_length, search filter is a text input found in a div named {tableid}_filter, etc) so you can attach to standard DOM events of those items.
Replies
The DOM elements for search, pagination, display length, etc are put into divs on the page with predictable names (length is {tableid}_length, search filter is a text input found in a div named {tableid}_filter, etc) so you can attach to standard DOM events of those items.