Remove data[0] in post data?
Remove data[0] in post data?
tgrayson
Posts: 5Questions: 1Answers: 0
I need the AJAX request to map to a Microsoft MVC action, so I need the post data to match the signature. That means I need to change data[0][BatchId] to be just "BatchId". Can this be done?
This discussion has been closed.
Answers
Use
ajax.data
as a function if you wish to manipulate the data sent by DataTables when it makes its Ajax request for data.Allan