Server-side processing, sent parameters in hungarian notation instead of camelCase
Server-side processing, sent parameters in hungarian notation instead of camelCase
James Debug
Posts: 2Questions: 0Answers: 0
Hi,
I'm working on the implementation of DataTable (1.10.3) with server-side processing.
According to the manual (http://datatables.net/manual/server-side), sent parameters are such as:
- draw
- start
- length
- …
But i keep getting the parameters in hungarian notation:
- sEcho
- iDisplayStart
- iDisplayLength
- …
I tried to find a way to force the camelCase format but no luck.
How is this supposed to be configured?
James
This discussion has been closed.
Replies
Hi James,
You are probably using
sAjaxSource
to specify the Ajax url rather than the newerajax
parameter. The old style parameter forces the old style parameters for backwards compatibility. More information in the manual.Allan
Hey Allan,
Thanks to your link i finally fixed it by adding the following line:
Thanks for your help!
James