how to use own modal or custom modal for unsaved alert in datatable how to use
Is this the same as this thread? https://datatables.net/forums/discussion/52226
Yes, that is possible. If you have a look at the code you are using for the confirmation message you will see:
return confirm( 'You have unsaved changes. Are you sure you want to exit?' );
You would replace that with whatever API calls you need for whatever modal library you are going to use for the confirmation message.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.