How to check if DataTable exists on an element

How to check if DataTable exists on an element

ibokatibokat Posts: 5Questions: 4Answers: 0
edited September 2022 in DataTables 1.10

How can I check if a DataTable object has already been applied to an existing HTML element.

$('#mytable').DataTable(); throws an error if the datatable has not yet been applied.

Thanks

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.