修正RecipeFormatBuilder中未将只读列标记为ReadOnly的问题。
This commit is contained in:
parent
809f69f2f3
commit
ce1a295aa3
|
@ -621,7 +621,10 @@ namespace MECF.Framework.UI.Client.CenterViews.Editors.Recipe
|
|||
// 单元格是否可编辑?
|
||||
var isCellEditable = step.Attributes["IsColumnEditable"]?.Value;
|
||||
if (string.IsNullOrEmpty(isCellEditable) == false && isCellEditable.ToLower() == "false")
|
||||
{
|
||||
col.StringCellEditingTemplate = "";
|
||||
col.IsReadOnly = true;
|
||||
}
|
||||
|
||||
SetPermission(col, menuPermission); // 设置本列权限
|
||||
colExpander.ChildColumns.Add(col); // 将本列追加到Expander中
|
||||
|
|
Reference in New Issue