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; }
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); } }