Menu
Download Free Trial

How to Hide Field List by default With Javascript

Answered

I understand you can hide the field list by default by editing the XML configuration like this, but I need to be able to set this setting in our application, and not on XML. Is there a JavaScript function that hides this that I could use OnLoad?
<params>
<param name=”configuratorActive”>false</param>

1 answer

Public
Dmytro Zvazhii Flexmonster March 13, 2017

Hi,
Thank you for your questions. If you want to hide the Fields List by default, you can set "configuratorActive": false, when initializing the component. In case you need to hide the Fields List in runtime, please use the setOptions() method. Here is a jsFiddle example of how it can be done – https://jsfiddle.net/flexmonster/g8ps0kf1/.
Please let us know if everything works fine for you.
Best regards,
Dmytro.

Please login or Register to Submit Answer