Add extra parameters based on the action

Add extra parameters based on the action

ppacchppacch Posts: 1Questions: 0Answers: 0
edited July 2013 in Editor
Hello,
This has probably be answered yet I'm not able to retrieve the information.
I would like to add extra parameters to the URL based on the "action".

As an illustration:

var editor = new $.fn.dataTable.Editor( {
"ajaxUrl": {
"create": "sgd_routing.cgi?sgd.routing.create=true",
"edit": "sgd_routing.cgi?sgd.routing.update=true",
"remove": "sgd_routing.cgi?sgd.routing.delete=true",
},
...

This works for GET not for POST. I want to achieve the same result for POST. I played with the fnServerParams property but without luck so far.

Thanks for your help,
Pierre.
This discussion has been closed.