public GridViewSummary(string col, string formatString, SummaryOperation op, GridViewGroup grp) : this(col, grp) { this._formatString = formatString; this._operation = op; this._customOperation = null; this._getSummaryMethod = null; }
public GridViewSummary(string col, string formatString, CustomSummaryOperation op, SummaryResultMethod getResult, GridViewGroup grp) : this(col, grp) { this._formatString = formatString; this._operation = SummaryOperation.Custom; this._customOperation = op; this._getSummaryMethod = getResult; }
public GridViewSummary RegisterSummary(string column, string formatString, CustomSummaryOperation operation, SummaryResultMethod getResult) { // TO DO: Perform column validation... GridViewSummary s = new GridViewSummary(column, formatString, operation, getResult, null); mGeneralSummaries.Add(s); // if general summaries are displayed in the footer, it must be set to visible if (useFooter) { mGrid.ShowFooter = true; } return(s); }
public GridViewSummary RegisterSummary(string column, string formatString, CustomSummaryOperation operation, SummaryResultMethod getResult, string groupName) { GridViewGroup group = mGroups[groupName]; if (group == null) { throw new Exception(String.Format(GROUP_NOT_FOUND, groupName)); } // TO DO: Perform column validation... GridViewSummary s = new GridViewSummary(column, formatString, operation, getResult, group); group.AddSummary(s); return(s); }
public GridViewSummary(string col, CustomSummaryOperation op, SummaryResultMethod getResult, GridViewGroup grp) : this(col, String.Empty, op, getResult, grp) { }
public GridViewSummary RegisterSummary(string column, CustomSummaryOperation operation, SummaryResultMethod getResult, string groupName) { return(RegisterSummary(column, String.Empty, operation, getResult, groupName)); }
public GridViewSummary RegisterSummary(string column, string formatString, CustomSummaryOperation operation, SummaryResultMethod getResult, string groupName) { GridViewGroup group = mGroups[groupName]; if (group == null) { throw new Exception(String.Format(GROUP_NOT_FOUND, groupName)); } // TO DO: Perform column validation... GridViewSummary s = new GridViewSummary(column, formatString, operation, getResult, group); group.AddSummary(s); return s; }
public GridViewSummary RegisterSummary(string column, CustomSummaryOperation operation, SummaryResultMethod getResult, string groupName) { return RegisterSummary(column, String.Empty, operation, getResult, groupName); }
public GridViewSummary RegisterSummary(string column, string formatString, CustomSummaryOperation operation, SummaryResultMethod getResult) { // TO DO: Perform column validation... GridViewSummary s = new GridViewSummary(column, formatString, operation, getResult, null); mGeneralSummaries.Add(s); // if general summaries are displayed in the footer, it must be set to visible if (useFooter) mGrid.ShowFooter = true; return s; }
public GridViewSummary RegisterSummary(string column, string formatString, CustomSummaryOperation operation, SummaryResultMethod getResult) { GridViewSummary s = new GridViewSummary(column, formatString, operation, getResult, null); mGeneralSummaries.Add(s); if (useFooter) { mGrid.ShowFooter = true; } return(s); }