예제 #1
0
 public void CopyFrom(GridGroupByField field)
 {
     this.fieldName    = field.fieldName;
     this.fieldAlias   = field.fieldAlias;
     this.aggregate    = field.aggregate;
     this.formatString = field.formatString;
     this._headerText  = field._headerText;
     this.RelationName = field.RelationName;
     this.SortOrder    = field.SortOrder;
 }
예제 #2
0
 public GridViewSummaryItem(string name, string formatString, GridAggregateFunction aggregate)
 {
     this.name      = name;
     this.Aggregate = aggregate;
     if (!string.IsNullOrEmpty(formatString))
     {
         this.formatString = formatString;
     }
     else
     {
         this.formatString = "{0}";
     }
 }
 public IGridColumn <T> Aggregate(GridAggregateFunction aggregatefunction)
 {
     AggregateValue = aggregatefunction;
     return(this);
 }