How to check if datatable is loaded

How to check if datatable is loaded

toson1003toson1003 Posts: 11Questions: 3Answers: 0

Hello !
I'm using DataTables with angular 5 and using pagination at server side
I don't know how to check if datatable is loaded
Please support me
Thanks !

Answers

  • kthorngrenkthorngren Posts: 20,332Questions: 26Answers: 4,775

    See if the $.fn.dataTable.isDataTable() API is what you are looking for.

    Kevin

  • toson1003toson1003 Posts: 11Questions: 3Answers: 0

    Thank for reply
    But i wan't know when Processing... end
    Do you know solution ?

  • colincolin Posts: 15,154Questions: 1Answers: 2,587

    Hi @toson1003 ,

    It might be worth saying why you need this, then it would be easier for us to make suggestions. Without knowing too much, if you want to know when things have completed, or are about to start, you could use events - such as xhr or processing. may fit your need.

    Cheers,

    Colin

  • toson1003toson1003 Posts: 11Questions: 3Answers: 0
    edited May 2018

    Hi @colin
    Thanks for your reply
    I found solution with use drawCallback function
    Thanks all !

This discussion has been closed.