コード例 #1
0
ファイル: GridViewHelper.cs プロジェクト: codestk/StkLib
 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);
 }
コード例 #2
0
ファイル: GridViewGroup.cs プロジェクト: codestk/StkLib
 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;
 }