- Timestamp:
- 04/27/10 18:51:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs
r3454 r3546 145 145 146 146 private void UpdateRowHeaders() { 147 for (int i = dataGridView.FirstDisplayedScrollingRowIndex; i < dataGridView.FirstDisplayedScrollingRowIndex + dataGridView.DisplayedRowCount(true); i++) {147 for (int i = 0; i < dataGridView.RowCount; i++) { 148 148 if (Content.RowNames.Count() != 0) 149 dataGridView.Rows[i].HeaderCell.Value = Content.RowNames.ElementAt( i);149 dataGridView.Rows[i].HeaderCell.Value = Content.RowNames.ElementAt(virtualRowIndizes[i]); 150 150 else 151 151 dataGridView.Rows[i].HeaderCell.Value = "Row " + (i + 1); … … 290 290 virtualRowIndizes = Sort(sortedColumnIndizes); 291 291 UpdateSortGlyph(); 292 UpdateRowHeaders(); 292 293 dataGridView.Invalidate(); 293 294 }
Note: See TracChangeset
for help on using the changeset viewer.