DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error

前端 未结 5 1716
太阳男子
太阳男子 2021-01-23 08:27

I am using server-side DataTables in a project

and do a search, shows me the following error message:

DataTables warning: JSON data from server not could b

5条回答
  •  北恋
    北恋 (楼主)
    2021-01-23 08:45

    You're json is not in the valid format which datatables expects, that being row/column 2d array.

    [["row1col1","row1col2"],["row2col1"],.....]
    

提交回复
热议问题