ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: bsolTeamBglr on August 01, 2017, 11:08:49 am
-
Hi ,
IF i selected a column and try top generate report it throws error status as 400 bad request.
If i didnt select a column or row, report is generating properly.
My request is not at all reached to controller class.
"selectionModel :{ mode: 'single',type : 'column'},"
This is the selectionModel, i am using in my JSP.
Can you please help me on this.
Thanks,.
-
1.What kind of report are you generating from the grid. Have you used exportData() API with format: 'json' ?
2. Is it a GET or POST request?
3. Try to find the data posted to server by opening up the browser developer console -> network logs.
-
Hi,
1) Yes i am exporting date from AP using json.
2) POST method i have requested.
3) In net work log i can see the data ,but the its shows this as bad request.
Thanks,
-
use nopqdata: true in exportData() method: https://paramquery.com/pro/api#method-exportData
-
Hi,
I got the reason for issue.
in Network console i can see the another index named like "pq_rowselect" extra.
This is the reason i am getting 400 bad request error.
could you please help me on this.
Thanks,
-
Have you tried the solution provided in previous post.
-
Hi,
Yes i have tried the solution.
But still i am facing the same issue.
Thanks,
-
Please share a test case / jsfiddle.