$(function () {
$('#dgman').datagrid({
title: '操作员管理',
width: 1000,
iconCls: 'icon-man',
pagination:'true',
fitColumns:true,
columns:[[
{
filed: 'Cno',
title: '账号',
},
{
filed: 'Cname',
title: '用户名'
},
{
filed: 'Cstate',
title: '状态'
},
{
filed: 'Cemail',
title: '邮箱'
}
]],
});
看下是不是css或者js方面的问题。
Columns里每一列必须指定width,上面加的fitColumns才会生效