configuratorActive: false option does not suppress opening of Field List

Answered
Brian Holtz asked on April 16, 2021

Though I have confirmed the configuratorActive option is set to false (please see attached screenshot), the Field List still opens when the PivotTable component is initialized.  When closed, it will open again when the window is resized (including going to fullscreen).  This persists until at least one field is applied to the report.  

Attachments:
options.PNG

1 answer

Public
Vera Didenko Vera Didenko Flexmonster April 19, 2021

Hello, Brian,
 
Thank you for writing to us. 
 
We would like to explain that a default slice needs to be provided for custom data source API. Without a default slice, the Field List is automatically displayed. 
If a data slice is specified, the Field List will not be shown. Please see the following example: https://jsfiddle.net/flexmonster/ctndsu7v/.
 
If you would like to display an empty grid and prevent the Field List from showing, this can be achieved by listening to the fieldslistopen event.
Here is a JSFiddle for illustration: https://jsfiddle.net/flexmonster/fk5sL8ex/.
In the example, no default slice is provided, and the Field List visibility is controlled with the fieldslistopen event. The Field List is opened only via the "Fields" Toolbar Tab.
 
Please let us know if this helps. 
Looking forward to your reply.
 
Kind regards,
Vera

Please login or Register to Submit Answer