Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2366

on Draw running multiple times

$
0
0

I've noticed that the Draw event is sometimes triggered multiple times on a page load. On a site where I have multiple pages with various DT setups the following code will trigger 1-3 times (varying by page). Each page calls the same DT and jQuery files.

table.on( 'draw', function () {
    alert( 'Table redrawn' );
} );

Any ideas why? I've used DT for some time and never noticed this before.


Viewing all articles
Browse latest Browse all 2366

Trending Articles