We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2f8ce1 commit 4b34f68Copy full SHA for 4b34f68
examples/js/manipulation/del-row-custom-confirm.js
@@ -21,8 +21,9 @@ function addProducts(quantity) {
21
22
addProducts(5);
23
24
-function customConfirm(next) {
25
- if (confirm('(It is a custom confirm function)Are you sure you want to delete?')) {
+function customConfirm(next, dropRowKeys) {
+ const dropRowKeysStr = dropRowKeys.join(',');
26
+ if (confirm(`(It's a custom confirm)Are you sure you want to delete ${dropRowKeysStr}?`)) {
27
// If the confirmation is true, call the function that
28
// continues the deletion of the record.
29
next();
0 commit comments