- Timestamp:
- 05/14/14 11:44:17 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.cs
r10820 r10844 223 223 for (int i = 0; i < Content.FilterLogic.PreprocessingData.Columns; i++) { 224 224 comparisonFilter.ConstraintColumn = i; 225 bool[] filteredRows = Content.FilterLogic.Preview(filters, true); 226 foundCells[i] = filteredRows.Select((value, index) => new { Index = index, Value = value }) 227 .Where(pair => pair.Value) 228 .Select(pair => pair.Index) 229 .ToList(); 225 bool[] filteredRows = Content.FilterLogic.GetFilterResult(filters, true); 226 var foundIndices = new List<int>(); 227 for (int idx = 0; idx < filteredRows.Length; ++idx) { 228 var notFilteredThusFound = !filteredRows[idx]; 229 if (notFilteredThusFound) { 230 foundIndices.Add(idx); 231 } 232 } 233 foundCells[i] = foundIndices; 230 234 IList<int> selectedList; 231 235 if (searchInSelection && HightlightedCellsBackground.TryGetValue(i, out selectedList)) {
Note: See TracChangeset
for help on using the changeset viewer.