Changeset 9629 for branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/View/ColumnGroupView.cs
- Timestamp:
- 06/14/13 10:50:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/View/ColumnGroupView.cs
r9627 r9629 538 538 #region DataGridView virtual mode event handler 539 539 private void dataGridView_CellValueNeeded(object sender, System.Windows.Forms.DataGridViewCellValueEventArgs e) { 540 if (!ColumnGroup.Columns.Any()) return; 540 if (e.ColumnIndex >= ColumnGroup.Columns.Count()) return; 541 if (e.RowIndex >= ColumnGroup.RowCount) return; 541 542 e.Value = ColumnGroup.Columns.ElementAt(e.ColumnIndex).GetValue(e.RowIndex); 542 543 }
Note: See TracChangeset
for help on using the changeset viewer.