- Timestamp:
- 11/05/12 17:44:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/FeatureCorrelation/EnhancedStringConvertibleMatrixView.cs
r8861 r8870 67 67 } 68 68 protected override void UpdateRowHeaders() { 69 base.UpdateRowHeaders();70 69 if (rowVisibility != null && Content != null && rowVisibility.Count() == dataGridView.RowCount) { 71 int i = 0; 72 foreach (var visibility in rowVisibility) { 73 dataGridView.Rows[i].Visible = visibility; 74 i++; 70 int[] realRowIndex = Enumerable.Range(0, Content.Rows).ToArray(); 71 int[] helper = new int[virtualRowIndices.Length]; 72 Array.Copy(virtualRowIndices, helper, virtualRowIndices.Length); 73 Array.Sort(helper, realRowIndex); 74 for (int i = 0; i < dataGridView.RowCount; i++) { 75 dataGridView.Rows[realRowIndex[i]].Visible = rowVisibility.ElementAt(i); 75 76 } 76 77 } 78 base.UpdateRowHeaders(); 77 79 } 78 80
Note: See TracChangeset
for help on using the changeset viewer.