orderable: false caused a mysql error?

orderable: false caused a mysql error?

4usolution4usolution Posts: 10Questions: 4Answers: 0

Hi i try do do the following

"columnDefs": [ { "targets": 0, "data": null, "orderable": false, "defaultContent": "" },

If i add the "orderable": false, part i get a mysql error and the script crached down - what im doing wrong?

In my Errorconsole i see the following
TypeError: c is undefined
vb(a=Object { oFeatures={...}, oScroll={...}, oLanguage={...}, mehr...}, b=Object { error="An SQL error occurred: S...'LIMIT 0, 10' at line 5"})

Answers

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    We'd probably need to see the server-side code as well.

    Thanks,
    Allan

  • 4usolution4usolution Posts: 10Questions: 4Answers: 0
  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    All of the columns appear to be sortable for me and I'm not seeing any Javascript error. Can you show me it in the error state so I can debug it please.

    Allan

This discussion has been closed.