Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

grid type not available in the options, if it is a compact view

Resolved
Ravi asked on November 13, 2020

If the pivot is compact view and we get the report then the grid – type is not available in the options of getReport().

3 answers

Public
Vera Didenko Flexmonster November 13, 2020

Hello, Ravi,
 
We would like to kindly explain that default options are not returned by default.
For default options to be included in the report, please specify the withDefaults: true option when calling getReport:

pivot.getReport({
withDefaults: true
});

Here is a JSFiddle for illustration: http://jsfiddle.net/flexmonster/ft6revLs/
For more details, please see the following guide.
 
Please let us know if this helps.
Looking forward to your feedback.
 
Kind regards, 
Vera

Public
Vera Didenko Flexmonster November 13, 2020

Hello, Ravi, 
 
We would like to mention that the getOptions() API call could also be used.
In this case, all options will be returned by default. 
Please see the following guide for reference: https://www.flexmonster.com/api/getoptions/
 
Hope this helps. 
 
Kind regards, 
Vera

Public
Ravi November 13, 2020

Hello Vera Didenko,
Thank you for your Quick Response. let me check this from our side!!!
Thanks Again!
Ravi 

Please login or Register to Submit Answer