.css .datagrid-mask-msg {
position: absolute;
top: %;
margin-top: -20px;
padding: 12px 5px 10px 30px;
width: auto;
height: 16px;
border-width: 2px;
border-style: solid;
display: none;
} . js this. WaitMessage2Position=function(msg, jqobj) { $("<div class=\"datagrid-mask\"></div>").css({ display: "block", width: "100%", height: jqobj.height() }).appendTo(jqobj);
$("<div class=\"datagrid-mask-msg\"></div>").html(msg).appendTo(jqobj).css({
display: "block",
left: (jqobj.outerWidth(true)) / , top: (jqobj.outerHeight(true)+) /
});
}
this. RemoveWaitMessage2Position=function(jqobj) { jqobj.find(".datagrid-mask").remove();
jqobj.find(".datagrid-mask-msg").remove();
} .调用 DataGrid.WaitMessage2Position("正在加载中,请稍候。。", $("#home")); .移除 DataGrid.RemoveWaitMessage2Position($("#home"));