How do I use this variable 'dt' to enhance my table with the features of a datatable ?

How do I use this variable 'dt' to enhance my table with the features of a datatable ?

tomtaniyatomtaniya Posts: 1Questions: 1Answers: 0

I am referring npm installation guide at https://datatables.net/manual/installation
I have a table with id '#MyTable'

As per the doc, I have
var dt = require( 'datatables.net' )();

How do I use this variable 'dt' to enhance my table with the features of a datatable

Please help

Thank You,
Taniya

Answers

This discussion has been closed.