Datatables warning(table id = 'example'): cannot reinitialise data table

前端 未结 13 1366
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 15:07

I am working with datatables example and getting an error like this when loading page: Datatables warning(table id = \'example\'): cannot reinitialise data table. To retriev

13条回答
  •  生来不讨喜
    2020-12-04 15:56

    Search in your code maybe you have initialized dataTable twice in your code. You shold have like this code:

    $('#example').dataTable( {paging: false} );
    

    Only one time in your code.

提交回复
热议问题