How can I trigger the jqGrid loading.. message?
I'm intercepting server response via datatype, but I've noticed that the l开发者_运维知识库oading.. message is lacking! How can I trigger it ?
$(".loading").css("display", "block");
Then, to hide it after the data loads, you can use:
$(".loading").css("display", "none");
A better way would be using the following code.
$("#lui_gridName,#load_gridName").show();
"gridName" is the name of the grid.
精彩评论