Adjusting Deletion Confirmation Dialog for Multi-Select

Hello,

I have updated the selection type to multi-select, but the deletion confirmation dialog remains unchanged. I would like to adjust it so that it properly reflects multi-select behavior.

I do not want to add an SfDialog in the grid. Instead, is there a way to modify the existing deletion confirmation dialog text (or dialog content)?

For reference, the custom delete dialog can be enabled using:

public bool ShowDeleteConfirmDialog { get; set; }

The resource key for the confirmation text is: Gantt_ConfirmDelete.


Thank you!


3 Replies

NP Naveen Palanivel Syncfusion Team February 3, 2025 03:58 PM UTC

Hi Manuel Härtl ,

Query : "How can I modify the existing deletion confirmation dialog to reflect multi-select behavior without adding a new SfDialog."

We reviewed your query, and it seems that you want to customize the text of the deletion confirmation dialog while retaining its default actions. We suggest you use our Localization feature to change the default text, ensuring that the dialog performs its usual confirmation actions. We have prepared a simple sample that shows how to modify the dialog content, and we’ve changed the label text in the confirmation dialog. Please refer to the screenshot and sample for your reference.



Regards,
Naveen.


Attachment: Localization_ad9696d8.zip


MH Manuel Härtl February 13, 2025 12:32 PM UTC

Hello Naveen Palanivel,


Thank you for your prompt response.

Just to clarify, a Syncfusion update wouldn’t override these changes, correct?


I appreciate your support.

Best regards,

Manuel




PS Prathap Senthil Syncfusion Team February 14, 2025 02:39 PM UTC

Thanks for the update.

The changes made using the Localization feature will persist across grid dialog updates only because we have modified only that localized text, not the core functionality of the dialog.


Loader.
Up arrow icon