通过插件代码冻结列原创
金蝶云社区-豹
3人赞赏了该文章 477次浏览 未经作者许可,禁止转载编辑于2022年10月21日 14:54:54
//获取单据体标识
EntryGrid entry = getView().getControl("kotn_entryentity");
//设置冻结列
Optional.ofNullable(entry).ifPresent(
        es -> {
            //冻结列标识--冻结以下两列
 es.setColumnProperty("kotn_model", ClientProperties.IsFixed, true);
 es.setColumnProperty("kotn_unit", ClientProperties.IsFixed, true);
});


赞 3