Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
How to open Dialog window without button
posted

Hi, In all of your samples, you have shown the dialog window with a Button(click event of button to open dialog window). But I need to open it from typescript(either using constructor/ngOnInit/using isOpen Accessors). Can you please help me for this?..

Parents
  • 845
    Offline posted

    Hello Shailesh,

    Thank you for contacting Infragistics Developer Support!

    Yes, it is possible to toggle the dialog component from your typescript code. You only need to get a reference to it from your component and use the dialog API to manipulate it.

    I have also made a sample which showcases a dialog opening 3 seconds after the component has loaded.

Reply Children