Change the server-side parameters sent.

Change the server-side parameters sent.

flyboytylerflyboytyler Posts: 4Questions: 2Answers: 0

First what a great tool Datatables is, thank you.

I have a HCL Domino server. The server natively supports json output, and supports pagination of the results. Unfortunately the parameters it requires are different to the parameters server-side sends. There is no way on the Domino side to change these parameters, is it possible through a config setting to change the parameters sent for server-side requests on the Domino Side?

Many thanks

Answers

  • allanallan Posts: 63,520Questions: 1Answers: 10,473 Site admin

    Sure - use the preXhr and xhr events to modify the data set to the server and then returned back from it. I.e. the logic in those two events would basically bridge the DataTables server-side protocol and HCL Domino's.

    If you implement that, it would be great if you could post your solution, as I'm sure others would benefit from it.

    Allan

  • flyboytylerflyboytyler Posts: 4Questions: 2Answers: 0

    Thanks Allan, I'll take a look and see if I can figure it out. Many thanks. Oh and I will be sure to post back if I get it working.

Sign In or Register to comment.