Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3740

Editor: on Delete, can I control what fields are send with the Ajax JSON object to the server?

$
0
0

I'm including several hidden fields in the table. One is a session ID and another is a last-updated timestamp. The latter is used for concurrency control.

On Edit, both hidden fields are included in the JSON object going to the server. Great!...

...but on Delete, only the session ID field is being send over.

Is there a way to tell Editor what fields should be included in the JSON object?

I am already using the preSubmit function to include some other fields that are common across all records in the table. The last-updated timestamp would be unique to each record in the table.


Viewing all articles
Browse latest Browse all 3740

Trending Articles