Ignore:
Timestamp:
04/02/14 10:52:00 (6 years ago)
Author:
mleitner
Message:

Autosize table columns and keep selection on refresh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/StatisticsView.cs

    r10558 r10691  
    111111        dataGridView.Rows[i].HeaderCell.Value = logic.GetVariableName(i);
    112112      }
     113
     114      dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.DisplayedCells);
     115      dataGridView.AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders);
    113116      dataGridView.AllowUserToResizeColumns = true;
    114117    }
Note: See TracChangeset for help on using the changeset viewer.