diff --git a/插件库/Lskj.Control/TreeGridControlEx.cs b/插件库/Lskj.Control/TreeGridControlEx.cs index fc8c6d3..e526e72 100644 --- a/插件库/Lskj.Control/TreeGridControlEx.cs +++ b/插件库/Lskj.Control/TreeGridControlEx.cs @@ -76,7 +76,7 @@ namespace Lskj.Control /// /// 日期类型控件名称 /// - private List DateColumnNames=new List(); + private List DateColumnNames = new List(); /// @@ -1418,13 +1418,11 @@ namespace Lskj.Control gridColumn.OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList; gridColumn.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - if (!string.IsNullOrEmpty(model.AutoPadDataReleColName)) { AutoPadDataReleColList.Add(model); } - // 设置列格式化、汇总 this.SetColumnFormat(gridColumn, model); this.SetColumnSumming(gridColumn, model); @@ -1652,7 +1650,10 @@ namespace Lskj.Control protected void SetGridRowHeightAndFont() { if (SystemInfo.Instance.GridRowFontSize > 0) + { this.gcMain.Appearance.Row.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize); + this.gcMain.Appearance.HeaderPanel.Font = new Font("微软雅黑", SystemInfo.Instance.GridRowFontSize); + } if (SystemInfo.Instance.GridRowHeight > 0) { this.gcMain.ColumnPanelRowHeight = this.gcMain.RowHeight = SystemInfo.Instance.GridRowHeight; @@ -3023,7 +3024,7 @@ namespace Lskj.Control e.Appearance.BackColor = ColorTranslator.FromHtml("#9feb6a"); - + } /// /// 粘贴功能