Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete message confirmation #554

Closed
karmac2015 opened this issue Aug 29, 2016 · 9 comments
Closed

Delete message confirmation #554

karmac2015 opened this issue Aug 29, 2016 · 9 comments

Comments

@karmac2015
Copy link

Hello,

How can I customize the delete message confirmation ?

@kartik-v
Copy link
Owner

kartik-v commented Sep 6, 2016

Resolved via update to release v3.1.3. New property ActionColumn::deleteOptions['message'] will allow you to configure this.

@kartik-v kartik-v closed this as completed Sep 6, 2016
@karmac2015
Copy link
Author

Thank you kartik , I will try it.

@karmac2015
Copy link
Author

karmac2015 commented Sep 7, 2016

Is there any way to configure all options of dialog from deleteOptions like title and buttons ?

@kartik-v
Copy link
Owner

kartik-v commented Sep 8, 2016

Yes... have you tried it?

@karmac2015
Copy link
Author

karmac2015 commented Sep 19, 2016

Yes, I tried it like below, but it didn't work :

...
'deleteOptions' => [
     ...
     'type' => Dialog::TYPE_DANGER,
     ...
]
...

@kartik-v
Copy link
Owner

deleteOptions will only control the Html attributes - e.g. title, class, style etc... (I am not sure what you are trying above).

@karmac2015
Copy link
Author

karmac2015 commented Sep 28, 2016

Hello Kartik,

When I press the delete button a confirmation dialog appears , I want to configure the confirmation dialog , by default its type is 'warning' and I want to change it to 'danger'.
Please tell me where can I change the configuration of that dialog.

@deshario
Copy link

@karmac2015 Did u get the solution how to do it?

@kartik-v
Copy link
Owner

You can customize the confirmation dialog by configuring the Krajee Dialog Settings in GridView::krajeeDialogSettings.

Duplicate to #731 and read this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants