Hi ISMAIL,
Greetings from Syncfusion support.
Query: How to make backdrop become full screen for "Delete" confirmation. The full screen backdrop what I want is just the same with backdrop full screen when add or edit.
We have validated your requirement at our end. You can achieve this by using following code example in the toolbarClick event of Grid.
[index.js]
var grid = new ej.grids.Grid({
dataSource: window.orderData,
editSettings: {
allowEditing: true,
allowAdding: true,
allowDeleting: true,
mode: 'Dialog',
showDeleteConfirmDialog: true
},
toolbar: ['Add', 'Edit', 'Delete', 'Update', 'Cancel'],
toolbarClick: function(args) {
if (args.item.text == 'Delete') {
// change the target element of Confirmation Dialog
grid.editModule.alertDObj.target = document.body;
grid.editModule.dialogObj.target = document.body;
}
},
----
});
grid.appendTo('#Grid');
|
We have prepared a sample for your reference. You can get it from the below link.
Please get back to us if you need further assistance with this.
Regards,
Rajapandiyan S