Confirmation before close add or edit dialog

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

Hi Abu,

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

Regards…

2 Answers
Abu Ghufran answered 11 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 11 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

1 + 3 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?