Datatables reInitialization (jQuery)

前端 未结 5 804
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-04 08:54

When I load my page in first place there nothing in the table and the datatable is not initializated, after a few interactions rows are added and when all rows are added (wi

5条回答
  •  耶瑟儿~
    2021-01-04 09:37

    to clear the table, oTable.api().clear().draw();

    to reload data from ajax, oTable.api().ajax.reload();

    I don't think reInit is a good manner

提交回复
热议问题