Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/27/10 15:23:46 (13 years ago)
Author:
mkommend
Message:

Corrected behavior of RunCollection and changed minor parts in the views (ticket #1213).

File:
1 edited

Legend:

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

    r4477 r4518  
    279279      }
    280280
    281       bool addColumnNames = Content.ColumnNames.Any() && minRowIndex == 0;
    282       bool addRowNames = Content.RowNames.Any() && minColIndex == 0;
     281      bool addRowNames = dataGridView.AreAllCellsSelected(false);
     282      bool addColumnNames = dataGridView.AreAllCellsSelected(false);
    283283
    284284      //add colum names
     
    382382    }
    383383
    384     protected void ClearSorting() {
     384    protected virtual void ClearSorting() {
    385385      virtualRowIndizes = Enumerable.Range(0, Content.Rows).ToArray();
    386386      sortedColumnIndizes.Clear();
Note: See TracChangeset for help on using the changeset viewer.