jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window jqxWindow is not working as expected when a tab is switched

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

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

  • ravikiran1226
    Participant

    I have 2 tabs(tab-1, tab-2) in my main portal

    In tab-1, there is functionality for create/edit operations which launches the dialog (autoopen property is false)
    In tab-2 ,there is a grid

    Steps to recreate:
    1) A new entity is created using create option in tab-1
    2) switch the tab selection to tab-2
    3) again come back to tab-1
    4) If we click on create button/create menu, the dialog is not getting populated.

    Below is the code snippet for dialog
    function createTaskDialog(title, isEdit) {
    alert(“title:”+title + “–>Edit:”+isEdit);
    $(“#taskWindowHeader”).text(title);
    $(‘#taskDialog’).jqxWindow({
    autoOpen: false,
    height : 300,
    width : 400,
    isModal : true,
    showCloseButton : true,
    initContent: function () {
    $(‘#taskDialog’).jqxWindow(‘focus’);
    }
    });

    // Initialize the Task form Contents
    //initializeTaskFormContents(isEdit);

    // Validation for Form
    //doValidateTaskForm();
    }


    Dimitar
    Participant

    Hello ravikiran1226,

    This code is not sufficient for us to determine the source of the issue. Please share a larger example we can test (or a JSFiddle) and remember to format your code by selecting it and pressing the code button in the toolbar.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.