DataTables: Cannot read property 'length' of undefined

前端 未结 11 1225
醉酒成梦
醉酒成梦 2020-12-13 05:15

I understand this a popular issue, and I have read all the similar questions here on Stack Overflow and other sites (including the datatables website).

To clarify, I

11条回答
  •  清歌不尽
    2020-12-13 06:14

    In my case, i had to assign my json to an attribute called aaData just like in Datatables ajax example which data looked like this.

提交回复
热议问题