SVN-Revision: r428
This commit is contained in:
tdx
2025-04-02 06:58:54 +00:00
parent f2b6f34a58
commit 88aa1070c2
@@ -187,7 +187,6 @@ namespace Lskj.Control
this.GridView.RowCellStyle -= new RowCellStyleEventHandler(OnGridViewRowCellStyle); this.GridView.RowCellStyle -= new RowCellStyleEventHandler(OnGridViewRowCellStyle);
this.GridView.RowCellStyle += new RowCellStyleEventHandler(OnGridViewRowCellStyle); this.GridView.RowCellStyle += new RowCellStyleEventHandler(OnGridViewRowCellStyle);
} }
else else
{ {
if (!SystemInfo.Instance.ConditionalStylePriority) if (!SystemInfo.Instance.ConditionalStylePriority)
@@ -2954,6 +2953,7 @@ namespace Lskj.Control
else else
{ {
GridColumnModel model = gridColumn.Tag as GridColumnModel; GridColumnModel model = gridColumn.Tag as GridColumnModel;
if (model == null) return;
string ColumnSiftValue = string.Empty; string ColumnSiftValue = string.Empty;
string editValue = ControlType.IsValue(model.FieldType) ? GridGroupRowInfo.GroupValueText : GridGroupRowInfo.EditValue + ""; string editValue = ControlType.IsValue(model.FieldType) ? GridGroupRowInfo.GroupValueText : GridGroupRowInfo.EditValue + "";
int startindex = GridGroupRowInfo.GroupText.LastIndexOf(":"); int startindex = GridGroupRowInfo.GroupText.LastIndexOf(":");
@@ -2962,6 +2962,7 @@ namespace Lskj.Control
foreach (BandedGridColumn newColumn in this.bandedGridView.Columns) foreach (BandedGridColumn newColumn in this.bandedGridView.Columns)
{ {
GridColumnModel Newmodel = newColumn.Tag as GridColumnModel; GridColumnModel Newmodel = newColumn.Tag as GridColumnModel;
if (Newmodel == null) continue;
if (Newmodel.Visible && Newmodel.CanSum && !SystemInfo.Instance.GroupSpecialMode) if (Newmodel.Visible && Newmodel.CanSum && !SystemInfo.Instance.GroupSpecialMode)
{ {