DataTable Editor Ajax REST API
DataTable Editor Ajax REST API
Hello all,
I have a DataTable with Editor.
I call a rest API to populate a DataTable. DataTable shows some variables and with Editor only shows two values to edit. When I update values using the Editor, only two variables are sent to the server.
How can I send all the variables to the API even though they are not being modified?
Example:
-JSON received from the server:
{ "id": 123, "name": "Cris", "telf": "656783992", "update": "2018-01-01T13:00" }
-The Editor only shows "name" and "telf".
-The Rest API receives only "name" and "telf". I need that REST API also receives the variables that have not been modified.
Sorry my english.
Regards.
This discussion has been closed.
Answers
Add the other fields to the form as
hiddenfield types.Allan