Skip to content

Commit

Permalink
fix(examples): onBeforeEditCell should return bool true/false
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jul 13, 2021
1 parent 0112c82 commit 382bfc8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,10 @@ export class Example12 {
if (!checkItemIsEditable(item, column, grid)) {
event.preventDefault();
eventData.stopImmediatePropagation();
return false;
}
}
return false;
return true;
}

handleOnCellChange(event) {
Expand Down

0 comments on commit 382bfc8

Please sign in to comment.