Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/WaterPressureAsphaltCoverResultView.cs =================================================================== diff -u -rbcc2d3436803fb470491fb610f1c9abd45f7ec3f -re71106e3778c596d61396ebb5cc239a53b6ae50a --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/WaterPressureAsphaltCoverResultView.cs (.../WaterPressureAsphaltCoverResultView.cs) (revision bcc2d3436803fb470491fb610f1c9abd45f7ec3f) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/WaterPressureAsphaltCoverResultView.cs (.../WaterPressureAsphaltCoverResultView.cs) (revision e71106e3778c596d61396ebb5cc239a53b6ae50a) @@ -90,10 +90,10 @@ private void OnCellFormatting(object sender, DataGridViewCellFormattingEventArgs eventArgs) { - if (eventArgs.ColumnIndex > AssessmentLayerOneColumnIndex) + if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex) { var simpleAssessmentResult = (SimpleAssessmentResultType) DataGridViewControl.GetCell(eventArgs.RowIndex, - AssessmentLayerOneColumnIndex).Value; + SimpleAssessmentColumnIndex).Value; if (FailureMechanismResultViewHelper.HasPassedSimpleAssessment(simpleAssessmentResult)) { DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);