{
field:'name',
title:'用户名',
sortable:true,
formatter:function(value,row){
var content = '<li title="' + value + '" class="tip">' + value + '</li>';
return content;
}
var id = HYQMS.HyqZpeople.selectedData.id;
HYQMS.EUI.newWindow({
title:'详细信息',
height:'600',
width:'800',
href:'<%=path%>/console/zpeople/winloadpeople.do',
queryParams:{
peopleId:id,
rowIndex:index
},
});
},
onLoadSuccess:function(data){
$(".tip").tooltip({
onShow: function(){
$(this).tooltip('tip').css({
width:'100',
boxShadow: '1px 1px 3px #292929'
});
}
});
},
toolbar:[
{
text:'刷新',
iconcls: 'icon-reload',
handler: function(){
$('#HyqZpeopledatagrid').datagrid('load');
}
}
<c:forEach items="${menubuttons}" var="list" varStatus="stat">
<c:if test="${stat.first}">,'-',</c:if> ${list.mbattribute }<c:if test="${!stat.last}">,</c:if>
</c:forEach>
],
field:'name',
title:'用户名',
sortable:true,
formatter:function(value,row){
var content = '<li title="' + value + '" class="tip">' + value + '</li>';
return content;
}
},{
field:'updatetime',
title:'更新时间',
sortable:true,
align:'center',
hidden:true,
formatter:function(value) {
return HYQMS.FN.unixtostr(value);
}
}]],
var id = HYQMS.HyqZpeople.selectedData.id;
HYQMS.EUI.newWindow({
title:'详细信息',
height:'600',
width:'800',
href:'<%=path%>/console/zpeople/winloadpeople.do',
queryParams:{
peopleId:id,
rowIndex:index
},
});
},
onLoadSuccess:function(data){
$(".tip").tooltip({
onShow: function(){
$(this).tooltip('tip').css({
width:'100',
boxShadow: '1px 1px 3px #292929'
});
}
});
},
toolbar:[
{
text:'刷新',
iconcls: 'icon-reload',
handler: function(){
$('#HyqZpeopledatagrid').datagrid('load');
}
}
<c:forEach items="${menubuttons}" var="list" varStatus="stat">
<c:if test="${stat.first}">,'-',</c:if> ${list.mbattribute }<c:if test="${!stat.last}">,</c:if>
</c:forEach>
],