开发者

Jquery Grid with auto next

开发者 https://www.devze.com 2023-03-02 19:40 出处:网络
i need code for the jquery grid which should go to next page after few seconds and after it reaches the last page it should call the webservice again to get开发者_Go百科 latest dataWhat grid are you r

i need code for the jquery grid which should go to next page after few seconds and after it reaches the last page it should call the webservice again to get开发者_Go百科 latest data


What grid are you referring to? If this is a jqGrid then you might use the jQuery Timers plugin with the following:

$(function() {
    $(document).oneTime(DELAY_IN_MILLISECONDS, function() {
        $("#myCustomNextButton").click();
    });
}

Refer to the jqGrid Custom Buttons documentation on how to create your own custom buttons

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号