Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35272

Event after initial load

$
0
0

Is there an event that fires after the Datatable has loaded its initial state (first page of data, applied extra widgets etc)?

While I can register and see events for Redraw, Paging, destroy, I expected the init event to fire after the initial page load, but its not - in fact I cant get the init event to fire at all.

I have two questions:

  1. If I want to run some javascript on the contents of the table after its initial draw, and after every redraw / page, where's the best place to do this?
  2. Is it possible to access the ID of the outermost wrapper element that Datatables adds?

Thanks

Nick

Using Datatables 1.10.0 / 1.10.3


Viewing all articles
Browse latest Browse all 35272

Trending Articles