Return only data modified
Return only data modified
mircoShapeMe
Posts: 4Questions: 1Answers: 0
Hi!
Is it possible to return, after the AJAX call for modifying a field, only the modified data, without returning the entire data line?
I have a very complex table and being able to return only the modified data would be a great relief.
Best Regards, Mirco.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This is the same post
https://datatables.net/forums/discussion/comment/103133
Is there now a solution?
I assume that you are referring to Editor? Currently no - Editor expects the whole row of data to be returned, which allows for server-side generated values to update the client-side (last modified time for example).
This is something that I'm going to look at relaxing in future though.
Allan
Ok, thank you for response.
To get to the solution I'm trying to exploit the postSubmit event.
But how can I manipulate the json returned from server?
I've tried but with no success.
Have you a code example? Thank you.
This makes a number of assumptions:
It could be modified if you are using Editor / DataTables in some other way.
Allan
I found a workaround to answer my initial question.
Thank you for response!