0

**Please find an attached pictures][1], the Laravel datatables are returning an html as text. I used rawColumns and escapeColumns but its not working.

Community
  • 1
  • 1

1 Answers1

0

You code is for server side DataTable setup and execution and now you need to handle it at your client side using JQuery Ajax

Like:

$('#example').dataTable( {
  "ajax": {
    "url": "data.json",
    "type": "POST"
  }
} );

If you are newbie, first go through example:

AddWeb Solution Pvt Ltd
  • 21,025
  • 5
  • 26
  • 57