Documentation issue initComplete even.

Documentation issue initComplete even.

Tester2017Tester2017 Posts: 145Questions: 23Answers: 17

https://editor.datatables.net/reference/event/initComplete states that the event initComplete is deprecated and that the alternatives below should be used.

First of all, there are no alternatives named in this article. And second, the deprecation message is missing the version number.

So I thought this might be a wrong deprecation indication.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Thanks for pointing that out - I'll get it fixed.

    initComplete in Editor isn't available any longer since the Editor initialisation is alway synchronous (unlike DataTables which can be async or sync).

    Therefore, to run any code dependent on an Editor instance being created, you just need to execute it after the new Editor line.

    Allan

This discussion has been closed.