Prevent selecting rows with keyboard when disable row deletion flag is set

This commit is contained in:
Andrew Kingston 2023-04-28 11:34:16 +01:00
parent 96fc70f29a
commit b79f466324
1 changed files with 3 additions and 1 deletions

View File

@ -122,7 +122,9 @@
break
case " ":
case "Space":
toggleSelectRow()
if ($config.allowDeleteRows) {
toggleSelectRow()
}
break
default:
startEnteringValue(e.key, e.which)