How to override default send parameters ?

How to override default send parameters ?

BardrBardr Posts: 1Questions: 1Answers: 0
edited April 2017 in Free community support

Hi guys. I'm using DataTable with yadcf plugin and I want to override send parameters to match my API on server. For example: I have column Order, it's third column in columns array and, I want to send paramater called "orderSearch" instead of "columns[2].search.value". How can I do this ? How can I manipulate parameters ? Thanks !

Answers

  • allanallan Posts: 63,356Questions: 1Answers: 10,447 Site admin

    Two options:

    1. ajax.data can be used to manipulate the data submitted
    2. preXhr can likewise.

    Allan

This discussion has been closed.