ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: EPM Solutions on September 18, 2018, 10:02:51 am

Title: JSON Export issue in Rowgroup
Post by: EPM Solutions on September 18, 2018, 10:02:51 am
Hello team,
                 Here we are getting issue for JSON export for grouped rows in grid. Same error we get to see in demo as well. I have attached the screenshot of the demo error. Kindly please let me know how to resolve this error.

and here i have one more question, In my requirment if curson mouse over on the cell it will show cell content inside the tooltip, so we write a code like render div for that particular column

 render: return "<div title=\"" + cellData + "\">" + cellData + "</div>";

so here, when I export as s excel file , in that excel sheet column is shown as <div>----contents/data---</div> instead of 'content/data'.

can you please tell me how resolve this issue.

thank you
Title: Re: JSON Export issue in Rowgroup
Post by: paramvir on September 18, 2018, 10:54:10 am
1. Please pass nopqdata: true parameter to exportData method.

2. Please check render parameter of exportData method

https://paramquery.com/pro/api#method-exportData
Title: Re: JSON Export issue in Rowgroup
Post by: EPM Solutions on September 18, 2018, 11:35:19 am
Tank you so much team.

here I didn't get solution for my second question

When I put render in column, as a tool tip div , after export excel ,it will show that particular cell within <div></div> content
Title: Re: JSON Export issue in Rowgroup
Post by: paramvir on September 18, 2018, 11:48:46 am
Please read the documentation and pass render: false to exportData method.

https://paramquery.com/pro/api#method-exportData
Title: Re: JSON Export issue in Rowgroup
Post by: EPM Solutions on September 18, 2018, 12:32:21 pm
Thank you. Both are resolved.