Changeset 10949
- Timestamp:
- 06/04/14 15:02:57 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r10947 r10949 109 109 110 110 protected override void OnContentChanged() { 111 List<KeyValuePair<int, SortOrder>> order = new List<KeyValuePair<int, SortOrder>>(base.sortedColumnIndices); 111 112 base.OnContentChanged(); 112 113 // ToDo: Temporarily disabled because needs to much performance 113 //DataGridView.AutoResizeColumns(); 114 //DataGridView.AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders); 114 // DataGridView.AutoResizeColumns(); 115 // DataGridView.AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders); 116 115 117 DataGridView.RowHeadersWidth = 70; 118 116 119 if (Content == null && findAndReplaceDialog != null) { 117 120 findAndReplaceDialog.Close(); 118 121 } 122 123 if (Content != null) { 124 base.sortedColumnIndices = order; 125 base.Sort(); 126 } 127 119 128 } 120 129 … … 155 164 break; 156 165 } 157 }166 } 158 167 searchIterator = null; 159 168 }
Note: See TracChangeset
for help on using the changeset viewer.