This is the code for the Gantt and the dialogs:
Hi,
I was wondering if it were possible to disable the swipe functionality.
For me it would be better that the dialog doesn't change tab when I swipe.
This is the code for the Gantt and dialogs.
Thank you in advance.
Best regards,
Matteo Messmer
|
actionComplete(args) {
if (args.action == 'OpenDialog' && args.requestType == 'openEditDialog') {
var tabObj = document.getElementById("Editing_Tab");
tabObj.ej2_instances[0].selecting = function (e) {
if (e.isSwiped) {
e.cancel = true; // To disable the Tab swipe action
}
}
}
|