Confirmation before close add or edit dialog

QuestionsConfirmation before close add or edit dialog
toki asked 6 years ago

Hi Abu,

Is it possible to have Confirmation before close add or edit dialog?

Regards…

2 Answers
Abu Ghufran answered 6 years ago

Here you go

$opt["edit_options"]["onClose"] = "function(){ return confirm('Are you sure you wish to close?'); }";
$opt["add_options"]["onClose"] = "function(){ return confirm('Are you sure you wish to close?'); }";

toki answered 6 years ago

Thank you for your answer.

Could you let us know if there are other add or edit options that not written in PhpGrid documentation.

Regards…

Your Answer

7 + 0 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!