Intellij does not recognize columns.adjust() as a valid method.?
Intellij does not recognize columns.adjust() as a valid method.?

when i try to display the datatable which was hidden before, the table head and table body are misaligned, so i found this columns.adjust() api method. But when I using it like this:
$( '#spectrum_table' ).DataTable().columns.adjust().draw()
The IDEA does not recognize adjust() as a valid function. what should I do?
This discussion has been closed.
Answers
the js version and datatable version as below:
jQuery-3.2.1/jquery-3.2.1.min.js
DataTables-1.10.16/js/jquery.dataTables.min.js