Hi,
I was looking the documentation for the dialog.
https://help.syncfusion.com/js/api/ejdialog#members:enablemodal$("#dialog").ejDialog({enableModal: true});
What I want is enable the model property depending some parameters.
I have a method that opens the dialog from Onclick function openDialogWithMessageHistoryVersion.
function openDialogWithMessageHistoryVersion(changeTitle, type) {
var data = $("#GridShowDocumentHistory").ejDialog("instance");
data.setTitle(changeTitle);
if(type==0)
{
$("#GridShowDocumentHistory").ejDialog("open", { enableModal: false});
}
else if (type == 1)
{
$("#GridShowDocumentHistory").ejDialog("open", { enableModal: true });
}
}
The dialog opens fine, but the enable model property is never active.
Could you tell me what could be the issue.
Kind regards,
Juan