Remove Fields button

Answered
Darius Studdard asked on April 7, 2021

Hi,
 
We have a particular use case where we do not want users to have access to open the fields dialog.  I've removed the Fields button in the toolbar but am not sure how to remove the arrow in the upper right corner of the grid which also opens the Fields dialog.  Any guidance would be appreciated.  
Thanks!
Darius

2 answers

Public
Vera Didenko Vera Didenko Flexmonster April 8, 2021

Hello, Darius,
 
Thank you for writing to us. 
 
The Field List arrow button can be hidden by specifying configuratorButton: false in the report options.
We have prepared a JSFiddle example for illustration: https://jsfiddle.net/flexmonster/xzohfgqz/.
 
Please let us know if this helps.
 
Kind regards,
Vera

Public
Darius Studdard April 8, 2021

Thank you!  I had to take a slightly different approach because in my case I am loading a saved report JSON string from another part of our UI that is using that configurator button.  So just needed to parse the JSON string, add this configurator property within the JSON object, stringify it and then pass it into the setReport API.  It's working well.  Thanks for the assist!

Please login or Register to Submit Answer