Coldfusion handling of datatables “sent parameters”

Coldfusion handling of datatables “sent parameters”

huangcqhuangcq Posts: 1Questions: 1Answers: 0

Anyone had any success in using the "serverSide" mode in ColdFusion, particularly in getting ColdFusion to properly parse the parameters sent by datatables into complex variables? For example, currently CF simply chuck all the parameters into a flat form "struct" variable, with struct keys like "columns[1][data]" or "search[value]". How do I get CF to parse these parameters into complex variables like form.columns[1].data or form.search.value?

According to the documentation at https://datatables.net/manual/server-side, it says that "In most modern server-side scripting environments this data will automatically be available to you as an array.". Is CF simply too out-of-date? I'm using CF11.

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @huangcq ,

    This thread here might help, it shows how to get it going with some code clips. Hope that helps,

    Cheers,

    Colin

This discussion has been closed.