锁定动态表单分录的前三行不生效
1,257次浏览
编辑于2017年11月09日 16:07:24
FieldAppearance fieldAp = this.View.LayoutInfo.GetFieldAppearance(s);
DynamicObject row = this.View.Model.GetEntityDataObject(currEntity, iNewEntry);
//this.View.StyleManager.SetEnabled(fieldAp, row,null, false);
//this.View.GetFieldEditor(s, iNewEntry).SetEnabled("ShowMore", false);
this.View.StyleManager.SetEnabled(field, row, "", false);
// this.View.GetFieldEditor(s, iNewEntry).Enabled = false;
如题,这几个方法都不生效
DynamicObject row = this.View.Model.GetEntityDataObject(currEntity, iNewEntry);
//this.View.StyleManager.SetEnabled(fieldAp, row,null, false);
//this.View.GetFieldEditor(s, iNewEntry).SetEnabled("ShowMore", false);
this.View.StyleManager.SetEnabled(field, row, "", false);
// this.View.GetFieldEditor(s, iNewEntry).Enabled = false;
如题,这几个方法都不生效
推荐阅读