jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window jqxwindow open firing late

This topic contains 6 replies, has 3 voices, and was last updated by  gopinath_ui 10 years, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • jqxwindow open firing late #69643

    gopinath_ui
    Participant

    I have a Jqxwindow in my application in which i have a grid within the window.
    When the open event of jqxwindow is fired beforer opening the window the next event is fired.
    I need the window to open first then the proceeding event has to get fired.
    In the attached example if you notice after the window is open i have fired a alert which gets fired before the window opens .
    Steps
    1.click on hide window first
    2.click on show “before the window opens the HI alerts comes then only window opens”\

    PLEASE GO THROUGH THE ATTACHED EXAMPLE:
    http://jsfiddle.net/FKQcW/19/

    jqxwindow open firing late #69670

    Nadezhda
    Participant

    Hello gopinath_ui,

    Here is an example which shows how to use ‘open’ event: http://jsfiddle.net/fn46Lzon/.
    Please, note that there is difference between ‘open’ event and ‘open’ method.

    Best Regards,
    Nadezhda

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

    jqxwindow open firing late #69695

    gopinath_ui
    Participant

    Hi nadezha

    alert just example, instead of this I have used jqxgrid to load on open. But jqxwindow get delayed to open in ie9, when the jqxgrid loading rendering is start then the jqxwindow is opened. I have used above the example but not worked, any solution?.

    Regards
    Gopinath BS

    jqxwindow open firing late #69708

    Nadezhda
    Participant

    Hi Gopinath BS,

    Please, find the following example which works on our side: http://jsfiddle.net/5avw10ms/. I suggest you to use the most recent version of jQWidgets which is 3.7.1.

    Best Regards,
    Nadezhda

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

    jqxwindow open firing late #69733

    gopinath_ui
    Participant

    Hi Nadezha

    1.Jqxwindow initContent is work in jQWidgets v3.4.0?

    2.Above example is array format, can u give example for json format with ajax url on initcontent?

    Regards
    Gopinath BS

    jqxwindow open firing late #69756

    Peter Stoev
    Keymaster

    Hi Gopinath BS,

    1. For API supported in ver. 3.4.0, look at the documentation folder of that version’s download package.
    2. To learn how to data bind jqxGrid, I suggest you to look at its examples and documentation. There is explained how to bind it to JSON and many more data sources.

    Best Regards,
    Peter Stoev

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

    jqxwindow open firing late #69801

    gopinath_ui
    Participant

    welcome peter,

    I have used data binding format:

    // prepare the data
    var source =
    {
    datatype: “jsonp”,
    datafields: [
    { name: ‘countryName’, type: ‘string’ },
    { name: ‘name’, type: ‘string’ },
    { name: ‘population’, type: ‘float’ },
    { name: ‘continentCode’, type: ‘string’ }
    ],
    url: “http://ws.geonames.org/searchJSON”
    };
    var dataAdapter = new $.jqx.dataAdapter(source,
    {
    formatData: function (data) {
    $.extend(data, {
    featureClass: “P”,
    style: “full”,
    maxRows: 50
    });
    return data;
    }
    }
    );
    $(“#jqxgrid”).jqxGrid(
    {
    source: dataAdapter,
    columnsresize: true,
    columns: [
    { text: ‘Country Name’, datafield: ‘countryName’, width: 200 },
    { text: ‘City’, datafield: ‘name’, width: 170 },
    { text: ‘Population’, datafield: ‘population’, cellsformat: ‘f’, width: 170 },
    { text: ‘Continent Code’, datafield: ‘continentCode’, minwidth: 110 }
    ]
    });

    through your documentation api which is on open jqwindow. but jqwindow is get delay to open in ie9 and also above example tried, it get same issue in ie9. can u give solution?

    Regards
    Gopinath BS

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

You must be logged in to reply to this topic.