Beispiel #1
0
 public DxTableOrder(DxTableSettings settings, List <string> myvars)
 {
     list_settings = new List <DxTableSettings>()
     {
         settings
     };
     vars = myvars;
     Initialize();
 }
Beispiel #2
0
 public void PrepareBatch(DxTableBatch batch, DxTableSettings settings)
 {
     if (batch.tables.Count > 0)
     {
         batch.maxCol = settings.maxCol;
         batch.maxRow = settings.maxRow;
         batch.layout = settings.layout;
         foreach (DxTable table in batch.tables)
         {
             //do anything?
         }
     }
 }
Beispiel #3
0
        public DxTableBatch(DxCrosstabsSettings mysettings, DataTable dt)
        {
            Initialize();
            _tblsettings = (DxTableSettings)mysettings;
            outputtype   = DxOutputtype.Crosstabs;
            layout       = mysettings.layout;

            if (mysettings.pivot_rows.Count > 0)
            {
                vars.AddRange(mysettings.pivot_rows);
            }
            if (mysettings.pivot_cols.Count > 0)
            {
                vars.AddRange(mysettings.pivot_cols);
            }
            if (mysettings.pivot_cells.Count > 0)
            {
                vars.AddRange(mysettings.pivot_cells);
            }

            DxCrosstab crosstab = new DxCrosstab(mysettings, dt);

            tables.Add(crosstab);
        }