Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3800

How to handle `initComplete`?

$
0
0

What is the proper way to attach an event handler to Editor's initComplete?

This is what I tried:

var editor = new $.fn.dataTable.Editor(editorOptions);
editor.on('initComplete', function(e) { alert('init complete') });

My callback is never executed. I suspect that the event is triggered before I get a chance to attach a handler.


Viewing all articles
Browse latest Browse all 3800

Trending Articles