public GridViewHelper(GridView grd, bool useFooterForGeneralSummaries, SortDirection groupSortDirection) { this.mGrid = grd; this.useFooter = useFooterForGeneralSummaries; this.groupSortDir = groupSortDirection; this.mGeneralSummaries = new GridViewSummaryList(); this.mGroups = new GridViewGroupList(); this.mGrid.RowDataBound += new GridViewRowEventHandler(RowDataBoundHandler); }
public GridViewGroup(string[] cols, bool isSuppressGroup, bool auto, bool hideGroupColumns, bool generateAllCellsOnSummaryRow) { this.mSummaries = new GridViewSummaryList(); this._actualValues = null; this._quantity = 0; this._columns = cols; this._isSuppressGroup = isSuppressGroup; this._automatic = auto; this._hideGroupColumns = hideGroupColumns; this._generateAllCellsOnSummaryRow = generateAllCellsOnSummaryRow; }