简单账表关闭表头排序功能笔记原创
3人赞赏了该文章
439次浏览
编辑于2020年08月15日 06:45:22
需要在插件里面将其关闭。
[code]using Kingdee.BOS.Core.Const;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Core.DynamicForm.PlugIn.ControlModel;
using Kingdee.BOS.Core.NotePrint;
using Kingdee.BOS.JSON;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestPrintPlugin
{
public class TestReportView : Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportPlugIn
{
public override void AfterBindData(EventArgs e)
{
base.AfterBindData(e);
EntryGrid listGrid = this.View.GetControl("FList");
listGrid.SetCustomPropertyValue("AllowSorting", false);
}
}
}
[/code]
推荐阅读