Need a special offer?Find out if your project fits.
+

How to Hide Field List by default With Javascript

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

1 answer

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 13, 2017

Hi,
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 - 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