ajax search returning correct results json, but datatables stuck "Processing" and rows do not update

ajax search returning correct results json, but datatables stuck "Processing" and rows do not update

1callservice1callservice Posts: 5Questions: 1Answers: 1

I have a datatables implementation using POST and it returns the correct search filtering server-side (looking at Network in chrome dev tools and viewing Response for the call, it has the row i want returned) however "processing" screen remains stuck on and the rows do not update... No javascript errors or alert dialogs are showing.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 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.

    Thanks,
    Allan

  • 1callservice1callservice Posts: 5Questions: 1Answers: 1

    No i cannot because it contains sensitive information. I wanted ideas on what could cause the response from server-side to be showing correctly, but Processing to get stuck with no errors?

  • 1callservice1callservice Posts: 5Questions: 1Answers: 1

    This only happens on Search... the intial load (same dataset returned) loads fine. just searching does not display just sticks with Processing... I've used datatables many times and consider myself quite advanced in its use but i cannot figure out how to debug this one.

  • 1callservice1callservice Posts: 5Questions: 1Answers: 1

    so the page loads fine originally, i search, it sticks on "processing", and even if i erase the search terms, it still sticks on "processing"... but the json returned from the ajax call is all correct (and works with original load) something is weird.

  • 1callservice1callservice Posts: 5Questions: 1Answers: 1
    Answer ✓

    i figured it out, the draw # was not taking :)

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin

    Good to hear - thanks for posting back.

    Allan

This discussion has been closed.