开发者

Jquery Grid with auto next

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜