private void checkGroupSummary() { innerChange = true; for (int i = GroupSummary.Count - 1; i >= 0; i--) { if (GroupSummary[i].FieldName == ChooseColumnName) { GroupSummary.RemoveAt(i); } } GroupSummary.Add(this.GroupChooseNeedSummary); innerChange = false; }
protected virtual void InitializeGroupItemCountSummary() { if (SettingsText.GroupItemCountFormat.IsEmpty()) { return; } GroupSummary.Add( new ASPxSummaryItem { FieldName = KeyFieldName, SummaryType = SummaryItemType.Count, DisplayFormat = SettingsText.GroupItemCountFormat, } ); }