$('#Rng').datagrid({ url: "servletre?itype=1", title: '列表', loadMsg:"正在加载,请稍等...", width: ($(window).width()*0.99-10), height: ($(window).height()*0.99-50), fitColumns: true, nowrap:false, singleSelect:true, rownumbers:true, pageSize:20, pageList:[20,40,80], pagination:true, idField:'projectName', frozenColumns:[[ {field:'ck',checkbox:true}, {field:'projectName',title:'项目名称',width:150,align:'center'}, ]], columns:[[ {field:'pDesc',title:'进展说明',width:100,align:'center'}, {field:'pTime',title:'预计结单时间',width:120,align:'center'} ]]});
这样还是不能冻结列,为什么。
把fitColumns: true, 改成fitColumns: false。
easyui冻结列
最新推荐文章于 2023-04-26 08:40:42 发布