jqGrid trigger “Loading…” overlay

后端 未结 9 1874
孤独总比滥情好
孤独总比滥情好 2020-12-03 08:24

Does anyone know how to trigger the stock jqGrid \"Loading...\" overlay that gets displayed when the grid is loading? I know that I can use a jquery plugin without much eff

9条回答
  •  无人及你
    2020-12-03 08:51

    Simple, to show it:

    $("#myGrid").closest(".ui-jqgrid").find('.loading').show();
    

    Then to hide it again

    $("#myGrid").closest(".ui-jqgrid").find('.loading').hide();
    

提交回复
热议问题