The inline editor doesn't close even after the Update AJAX request returns successfully.

The inline editor doesn't close even after the Update AJAX request returns successfully.

abhimedirattaabhimediratta Posts: 5Questions: 3Answers: 0

http://debug.datatables.net/ozecul

I get this error after the AJAX request returns a successful response:
Uncaught TypeError: Cannot read property 'length' of undefined

Is there any way to close the inline editor manually?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,783Questions: 1Answers: 10,511 Site admin

    Can you link to the page showing the issue so I can debug it please? What is the JSON that is returned form the server (the debugger doesn't show that unfortunately)?

    Allan

  • abhimedirattaabhimediratta Posts: 5Questions: 3Answers: 0
    edited March 2016

    { status: '1', id: 'some string' }, I can't give the link to it due to company policy.

    What does the successCallback expect in its parameter?

  • allanallan Posts: 63,783Questions: 1Answers: 10,511 Site admin
    edited March 2016 Answer ✓

    That's the problem then. The client / server interchange that Editor uses is documented here. The issue is that the response is not what Editor is expecting.

    Allan

  • abhimedirattaabhimediratta Posts: 5Questions: 3Answers: 0
    edited March 2016

    Thanks for the help :) Got it working.

This discussion has been closed.