var img;
//自定义图片的格式,可以根据rowdata自定义
function alarmFormatter(cellvalue, options, rowdata) {
return ‘ ‘;
}
$(function () {
$(‘#imgDialog‘).hide();
//var data = { "appId": AppId,"appGroupId": currentNode, "PageNumber": 1, "PageSize": 20 };
$("#gridTable").jqGrid({
datatype: "json",
//postData: data,
url: "home/List",
mtype: ‘POST‘,
colNames: [‘姓名‘, ‘性别‘, ‘帐号‘, ‘地点‘, ‘会员等级‘, ‘图片‘],
colModel: [
{ name: ‘UserName‘, width: 60, sortable: false },
{ name: ‘UserSex‘, width: 60, sortable: false, align: "center" },
{ name: ‘LoginAccount‘, width: 60, sortable: false },
{ name: ‘Address‘, width: 100, sortable: false },
{ name: ‘Rank‘, width: 100,