Author Topic: JSON Export issue in Rowgroup  (Read 2254 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
JSON Export issue in Rowgroup
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: JSON Export issue in Rowgroup
« Reply #1 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

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: JSON Export issue in Rowgroup
« Reply #2 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: JSON Export issue in Rowgroup
« Reply #3 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
« Last Edit: September 18, 2018, 11:50:18 am by paramquery »

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: JSON Export issue in Rowgroup
« Reply #4 on: September 18, 2018, 12:32:21 pm »
Thank you. Both are resolved.