How to get table instance after initialization

How to get table instance after initialization

ziv@kpmbro.comziv@kpmbro.com Posts: 73Questions: 28Answers: 4

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

Answers

This discussion has been closed.