public override bool ComputeAggregates(RenderContext context, ColumnAggregateType userAggregateType)
 {
     foreach (var dataSource in DataSources)
     {
         dataSource.ComputeAggregates(context, userAggregateType);
     }
     return(true);
 }
Exemplo n.º 2
0
 public ColumnHierarchy(ResourceManager resourceManager, string headerResourceKey, string columnName, ColumnHierarchyDirection direction, bool visible, ColumnAggregateType aggregateType, bool hideInHeader, bool isVerticalHeader, int width, params ColumnHierarchy[] childs)
 {
     ResourceManager   = resourceManager;
     HeaderResourceKey = headerResourceKey;
     ColumnName        = columnName;
     Direction         = direction;
     Visible           = visible;
     AggregateType     = aggregateType;
     HideInHeader      = hideInHeader;
     IsVerticalHeader  = isVerticalHeader;
     Width             = width;
     Childs            = new List <ColumnHierarchy>(childs);
 }
 //public abstract int GetRowsCount(BaseJournalControl journal, object[] groupValues);
 public abstract bool ComputeAggregates(RenderContext context, ColumnAggregateType userAggregateType);
Exemplo n.º 4
0
 public ColumnHierarchy(ResourceManager resourceManager, string headerResourceKey, string columnName, ColumnHierarchyDirection direction, bool visible, ColumnAggregateType aggregateType, params ColumnHierarchy[] childs)
     : this(resourceManager, headerResourceKey, columnName, direction, visible, aggregateType, false, childs)
 {
 }