Example #1
0
 private void InitializeSubGroupsOrDetail(int numberOfColumns, TableDetail tableDetail, TableGroup detailGroup, InitializationContext context, ref double tableHeight, bool[] tableColumnVisibility)
 {
     if (detailGroup != null && SubGroup == null)
     {
         SubGroup    = detailGroup;
         detailGroup = null;
     }
     if (SubGroup != null)
     {
         SubGroup.Initialize(numberOfColumns, tableDetail, detailGroup, context, ref tableHeight, tableColumnVisibility);
     }
     else
     {
         tableDetail?.Initialize(numberOfColumns, context, ref tableHeight, tableColumnVisibility);
     }
 }