Update a value Change in a Datatable
Update a value Change in a Datatable
Rectec013
Posts: 42Questions: 10Answers: 0
Hello , i want to ask about how to update a value in a Datatable .
I change a value (with edit function) and after saving i expect to see the "new_value" all over at the same column .
Thanks for Help
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
What "edit function"? Are you using DataTables' Editor?
yes
any ideas ?
After making your update the server is expected to return the updated row. Are you seeing this? Its described in this document:
https://editor.datatables.net/manual/server
Kevin
thanks Kevin .
I think that it will not possible to give the server the information that all Values in a column will be changed after an update . From Client side with render it will be for sur easy .
Josh
Hi Josh,
Is the problem that the new values are not shown in the table? I fear I haven't fully understood the question.
If that is the issue, then Kevin is correct, you need to have the server return the JSON format that Editor expects.
Allan
Are you saying that you want to update multiple records simultaneously?
Heyy all
it is exactly what i want update multiple records simultaneously .
is it possible ?
Certainly. Select all rows in this example and edit them as you wish.
Allan
thanks for Help Allan .
Josh