loadComplete:function(){
istableNull(grid_selector);
}
function istableNull(tableid){
var re_records = $(tableid).getGridParam('records');
tableid = tableid.substr(1,tableid.length);
if(re_records === 0 || re_records == null){
$("#"+tableid).parent().append("<div class=\""+tableid+"\" style=\"text-align: center;color: #333333;line-height: 40px;border-bottom: 1px solid #bce8f1;\">暂无相应数据!</div>");
$("."+tableid).show();
} else{
$("."+tableid).hide();
}
}
jqgrid表格无数据时显示提示语
猜你喜欢
转载自blog.csdn.net/qq_33871182/article/details/102841965
今日推荐
周排行