jQWidgets Forums

jQuery UI Widgets Forums Grid JQX loader with gridview

This topic contains 5 replies, has 3 voices, and was last updated by  Martin 5 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • JQX loader with gridview #112053

    ashokt4
    Participant

    Issue is when i click on gridview cell,Based on parameter on another jqxgridview has to load. Now when i click on cell click event JQX loader is not loading. Please provide sample code.

    function onClick(e) {
    lastindex=0;
    startindex=0;

    $(“#jqxLoader1”).jqxLoader({ width: 100, height: 60, imagePosition: ‘top’, autoOpen: true });

    $(“#QAProcessgrid”).on(“bindingcomplete”, function (event) {
    $(‘#jqxLoader1’).jqxLoader(‘close’);
    });
    QAProcessgridpagerrenderer();
    isReload =false;
    // $(“#loader”).modal(“show”);

    $(“#QAProcessgridPagination”).hide();
    var process= “”;
    if(e.dataPoint !=undefined && e.dataPoint!=null) // click evet from pie chart
    {

    process = e.dataPoint.label;
    ActionTotalRecordCount= e.dataPoint.y;
    lastindex=gridPageCount;
    loadgridagain(process);
    }
    else // click event from process count grid
    {
    process = e.args.value;
    var rowindex = e.args.rowindex;
    process = $(“#reqCount”).jqxGrid(‘getcellvalue’, rowindex, ‘Action’);
    // lastindex=$(“#reqCount”).jqxGrid(‘getcellvalue’, rowindex, ‘ActionCount’);
    ActionTotalRecordCount=$(“#reqCount”).jqxGrid(‘getcellvalue’, rowindex, ‘ActionCount’);
    lastindex=gridPageCount;
    loadgridagain(process);
    }
    //showHideAjaxLoaderFor(“jqxWidget”, false);
    // $(“#loader”).modal(“hide”);
    // $(‘#jqxLoader’).jqxLoader(‘Close’);

    }

    JQX loader with gridview #112056

    admin
    Keymaster

    Hi ashokt4,

    If you bind the grid with url params, by default it will handle loader by its internal logic. I would suggest you to use that approach. If you want to update its data source, you can set the source property of the Grid to new dataAdapter instance.

    Regards,
    Peter

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

    JQX loader with gridview #112066

    ashokt4
    Participant

    PLease provide sample code for this. i did not get your point. please help me on this

    JQX loader with gridview #112068

    ashokt4
    Participant

    Please respond soon. it is very urgent

    JQX loader with gridview #112110

    ashokt4
    Participant

    Hi
    Please assist on this soon

    JQX loader with gridview #112113

    Martin
    Participant

    Hello ashokt4,

    You can try to initialize the jqxLoader in the beginning and then call the open method when a cell is selected.
    Please, take a look at the following Example. It is similar to the case that you descriped.

    Best Regards,
    Martin Yotov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.