Angular DataTable not populating DTInstance

后端 未结 5 1480
抹茶落季
抹茶落季 2021-01-16 08:58

I am not getting my DtInstance populated after rendering. Anyone faced this issue.

<
5条回答
  •  北海茫月
    2021-01-16 09:20

    I was able to fix it by this https://github.com/l-lin/angular-datatables/issues/365

    The problem was due to I initialized the dataHolder like this

    vm.dtInstance = {};
    

    It fixed when I changed it into vm.dtInstance = null; even vm.dtInstance = undefined wont work.

提交回复
热议问题