How to get table instance after initialization
How to get table instance after initialization
ziv@kpmbro.com
Posts: 73Questions: 28Answers: 4
in General
Hi Allen
After my table is built how can i get the table instance,
this is the instance:
r {context: Array(1), selector: {…}, tables: ƒ, table: ƒ, draw: ƒ, …}
and i try this:
$('#main_table').dataTable();
but i get this
[table#main_table.display.dataTable, context: document, selector: "#main_table", $: ƒ, _: ƒ, api: ƒ, …]
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
note the capital
D
. See also the top FAQ.Allan
Thanks that was it...