ServerSide Processing: Prefix for all Parameters

ServerSide Processing: Prefix for all Parameters

maklemenzmaklemenz Posts: 1Questions: 0Answers: 0
edited October 2012 in Feature requests
The Datatable sends parameters like iDisplayStart and iDisplayLength on every ajax-call. Is it possible to give this parameters a prefix like myPrefix.iDisplayStart and myPrefix.iDisplayLength? I did not found this feature, so I tagged it as feature request.

With this prefix some webframeworks (play for example) are able to bind all datatable-parameters to one Object instead of receiving all parameters as single variables. That make datatable-handling on this frameworks more comfortable.

Replies

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Agreed - I think this is a really sensible feature request and one I will look at implementing in v1.10. All of the code for handling this kind of thing is already in DataTables - it just needs to be called.

    I've opened an issue for the v1.10 development: https://github.com/DataTables/DataTables/issues/124

    Allan
This discussion has been closed.