From 5b039ac8faee8d80a95341f69da2c441dc851c9c Mon Sep 17 00:00:00 2001 From: Giuliana Silva <108938618+OS-giulianasilva@users.noreply.github.com> Date: Wed, 5 Apr 2023 17:01:28 +0100 Subject: [PATCH] ROU-4230: Escape key does not cancel cell editing --- src/Providers/DataGrid/Wijmo/Features/ValidationMark.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Providers/DataGrid/Wijmo/Features/ValidationMark.ts b/src/Providers/DataGrid/Wijmo/Features/ValidationMark.ts index 12582072..9e6941b6 100644 --- a/src/Providers/DataGrid/Wijmo/Features/ValidationMark.ts +++ b/src/Providers/DataGrid/Wijmo/Features/ValidationMark.ts @@ -42,6 +42,9 @@ namespace Providers.DataGrid.Wijmo.Feature { s: wijmo.grid.FlexGrid, e: wijmo.grid.CellRangeEventArgs ): void { + // if the ESC key is pressed the e.cancel is true + if (e.cancel) return; + // get the new value const newValue = s.activeEditor?.value ?? ''; let currentValue = '';