Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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;
 }