Get Free Trial

How to Hide Field List by default With Javascript

brodybinks asked on March 10, 2017

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?
<param name=”configuratorActive”>false</param>

1 answer

Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 13, 2017

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

Please login or Register to Submit Answer