金蝶云星空设置单据体行高
一、表单插件
新建类继承AbstractBillPlugIn,重写OnInitialize方法进行设置
public override void OnInitialize(InitializeEventArgs e) { base.OnInitialize(e); this.View.GetControl<EntryGrid>("FEntity").SetRowHeight(80); }
二、Python脚本
import clr clr.AddReference('System') clr.AddReference('Kingdee.BOS.Core') from Kingdee.BOS.Core.DynamicForm import * from Kingdee.BOS.JSON import * def AfterBindData(e): this.View.GetControl("FEntity").SetRowHeight(80);