DataTables: Cannot read property 'length' of undefined

前端 未结 11 1207
醉酒成梦
醉酒成梦 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:02

    This is really late to the party, but none of the solutions above worked for me. I didn't want the "Found total xxx records" so I added info:false to the config. When I removed that everything worked.

    I should note that the first page loaded fine. When I hit next, the second page loaded, but immediately threw the above console error

提交回复
热议问题