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

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

EricLiaoEricLiao Posts: 3Questions: 1Answers: 0

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?

Answers

  • EricLiaoEricLiao Posts: 3Questions: 1Answers: 0

  • EricLiaoEricLiao Posts: 3Questions: 1Answers: 0

    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

This discussion has been closed.