hide-columns-dynamically text-inputs-searching

hide-columns-dynamically text-inputs-searching

ersinersin Posts: 1Questions: 1Answers: 0

Hi,
When I use hide-columns-dynamically text-inputs-searching classes together, I got the warning message below. What do I have to do?

DataTables warning: table id=DataTables_Table_0 - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Presumably you are repeating your equivalent of this code section:

    $(document).ready(function() {
        $('#example').DataTable();
    } );
    

    You can't do that. You can't initialise DataTables more than once, as the error is telling you.

This discussion has been closed.