简单账表怎么取消组合表头超出80列的限制?
以下内容来源于社区问答,原文链接:https://vip.kingdee.com/questions/102694531777974528?productLineId=1
开发表单构建插件:
using Kingdee.BOS.Core.DynamicForm.PlugIn;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kingdee.BOS.Util;
using System.ComponentModel;
namespace JZC.K3.LGB.APP.ReportPlugIn
{
[Description("开放报表超35行取消表头组合属性")]
public class MarginBookFormBuildPlugIn : AbstractDynamicWebFormBuilderPlugIn
{
public override void CreateControl(Kingdee.BOS.Core.DynamicForm.PlugIn.Args.CreateControlEventArgs e)
{
if (e.ControlAppearance.Key.EqualsIgnoreCase("FList"))
{
e.Control["enforcemerge"] = true;
}
base.CreateControl(e);
}
}
}
注册插件:
打开元数据,在id节点后增加如下内容:
<WebFormBuilderPlugins>
<PlugIn ElementType="0" ElementStyle="0">
<ClassName>JZC.K3.LGB.APP.ReportPlugIn.MarginBookFormBuildPlugIn, JZC.K3.LGB.APP.ReportPlugIn</ClassName>
<OrderId>1</OrderId>
</PlugIn>
</WebFormBuilderPlugins>
注:(JZC.K3.LGB.APP.ReportPlugIn.MarginBookFormBuildPlugIn, JZC.K3.LGB.APP.ReportPlugIn)格式为:类名,命名空间
简单账表怎么取消组合表头超出80列的限制?
本文2024-09-23 03:47:28发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-161116.html