Jqgrid 鼠标旋停显示框实现

需求:当鼠标移至审核状态时,浮层显示未通过原因。。。


 {name: "auditStatusDesc",align:"center",sortable:false,formatter:function(cellvalue,options,rowObject){
			        	  if(rowObject.auditStatus == "<%=Constants.ORDER_COST_AUDIT_NOPASS_AUDIT%>"){
				        	  return ""+rowObject.auditStatusDesc+"";
		        		  }else{
				        	  return rowObject.auditStatusDesc;
		        		  }
			          }},




			rowList: [10,20,30],
			page: 1,
			pager: "#pager",
			viewrecords: true,
			height: "auto",
			autowidth: true,
			gridview:false,
			autoencode: true,
			sortname: "o.nc_create_date",
			sortorder: "desc",
			multiselect: true,
			beforeRequest: jqGridBeforeRequest,
			gridComplete: function(data){//加上此处
				$( ".autotip" ).tooltip();
			}
		}).navGrid("#pager", {
			refresh: false,
			edit: false,
			add: false,
			del: false,
			search: false
		});



你可能感兴趣的:(java知识)