We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to prevent auto initialization of input controls

The script file ej.widgets.all.min.js is a combination of Essential Javascript for Web (ej.web.all.min.js) and Mobile (ej.mobile.all.min.js) components. In Mobile source, input controls are auto initialized on document ready for Essential Javascript Mobile applications, hence mobile styles have been applied. To prevent auto initialization, we need to set the property App.renderEJMControlsByDef as false. Refer to the following code example.



And also, additional container (div) element with a data-role “AppView” will be created on initialization, in which AppView acts as a master page for Mobile applications. To prevent the initialization of AppView, we need to set the property App.preventAppviewInit as true. Refer to the following code example



The above mentioned code example has to be referred, next to ej.widgets.all.min.js script reference.


Note: The above mentioned properties has to be utilized, only when ej.widgets.all.min.js is referred, not in case of ej.web.all.min.js is referred.


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile