Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/27/10 18:51:23 (14 years ago)
Author:
mkommend
Message:

corrected tabular view and bubble chart view (ticket #970)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r3454 r3546  
    145145
    146146    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++) {
    148148        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]);
    150150        else
    151151          dataGridView.Rows[i].HeaderCell.Value = "Row " + (i + 1);
     
    290290      virtualRowIndizes = Sort(sortedColumnIndizes);
    291291      UpdateSortGlyph();
     292      UpdateRowHeaders();
    292293      dataGridView.Invalidate();
    293294    }
Note: See TracChangeset for help on using the changeset viewer.