Prevent passing key field with parameters, Edit data[key][fieldname]
Prevent passing key field with parameters, Edit data[key][fieldname]
farhadtable
Posts: 47Questions: 27Answers: 1
I would like to pass custom parameters when I hit update while updating a row.
In the other words my main concern is that the DataTable pass index with filed name in parameter this make a problem for me in server-side
I have attached a picture to show you what I want,
or I think this is because of multi editing.
How can I disable multi editing?
or resolve the mentioned problem?
thanks in advance.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
i would like
You can use
ajax.data
to do so, orpreSubmit
to modify the data submitted to the server.The first parameter in the array is the row's ID. You can use
legacyAjax
to collapse that structure a little.Regards,
Allan