Exemplo n.º 1
0
        public void AddTitleRowInformation(T[] items, string[] displayNames, string[] typings, string[] details, int[] columnOrder)
        {
            var columnRows = new ColumnRow <T>(items, typings, displayNames, details);

            ReorderRowData(columnOrder);
            TitleRow = columnRows;
        }
Exemplo n.º 2
0
 public Table(ColumnRow <T> titles, T[][] data, int[] columnOrder)
 {
     this.TitleRow = titles;
     this.Rows     = new TableRow <T> [data.GetLength(0)];
     for (var i = 0; i < data.GetLength(0); i++)
     {
         this.Rows[i] = new TableRow <T>(data[i], columnOrder);
     }
 }