ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: kjvjung on September 05, 2017, 11:44:36 am
-
To achieve a specific purpose
How do I send user-defined variables and their values to the server?
For example,
<input name = "userDefine" type = "hidden" value = "12345" />
To the server is as follows.
pq_datatype:JSON
pq_filter:{"mode":"AND","data":[{"dataIndx":"company","value":"P","condition":"begin","dataType":"string","cbFn":""}]}
pq_sort:[{"dataIndx":"company","dir":"up"}]
pq_curpage:1
pq_rpp:100
userDefine : 12345
-
Sorry. I solved it myself.
We have done the following.
postData: function () {
return {
userDefine: 12345,
pq_curpage: pqIS.requestPage,
pq_rpp: pqIS.rpp
};
},
Thank you ^ ^