jQuery UI Widgets Forums Dialogs and Notifications Window Re-Initilize the Window

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 2 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Re-Initilize the Window #100483


    Hello am trying to re-initialize jqx window, but it does not work properly.

          $("#jqxwindow").jqxWindow({height: 'auto', width: '70%',resizable: false,draggable: false, theme: 'dark', isModal: true, autoOpen: false });
            // //on close destroy the jqx window
          $('#jqxwindow').on('close', function (event) {
               // $('#jqxwindow').jqxWindow('destroy');           
          $("#popup").click(function () {
                getselectedrowindexes =null;
                selectedRowData =null;
                vm._id ='';
          $("#button_input").click(function () {
              var T = $("#text_input").val();
          $("#button_no").click(function () {

    after destroy or remove method, window is not re-Initialized again.

    • This topic was modified 2 years, 2 months ago by  Dave_1.
    Re-Initilize the Window #100501


    Hello Dave_1,

    The window can not be re-initialized after you have once destroyed or removed it.
    This is because when these methods are called, the element is also removed from the html, so you can no longer select it.
    So, if you would open the window again, you should only close it, not destroy it.

    Best Regards,

    jQWidgets Team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.