Menu
Download Free Trial

export to FLAT view?

Do you have any option/api to export to flat view?
like menu under EXPORT , which can lead export to convert data in grid in flat view and export data to excel in flat form (if current view is non flat)

4 answers

Public
sabby August 31, 2017

i have coded for this if in case you dont have api existing. am good now . 
if you do have api though  , kindly share.

Public
Tanya Gryshko Flexmonster September 1, 2017

Sabby,

You can switch to flat view using API before call export. I think this should solve your problem

Thanks,
  Tanya

Public
sabby September 1, 2017

user doesnt want to have OPTIONS tab in toolbar . 
they want classic view only. 
 

Public
Dmytro Zvazhii Flexmonster September 4, 2017

Hello Sabby,
Thank you for your question. You can add the new custom button which implements the necessary behavior. Also please note that you have the source code of the toolbar, therefore you can make any changes you need. We suggest you using the following workaround: turn to the flat view using setOptions() and refresh() methods, perform the export using the exportTo() API call then turn back to charts.
Please let us know if it works for you.
Regards,
Dmytro.

Please login or Register to Submit Answer