We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Custom gantt chart Modal

Can i open my own Popup Modal to add or edit the gantt chart


1 Reply

MS Monisha Sivanthilingam Syncfusion Team November 24, 2022 06:45 AM

Hi Asim,
Greetings from Syncfusion support.
We can make use of the beforeOpenEditDialog and beforeOpenAddDialog request types in the actionBegin event to cancel the render of the Gantt Chart's default add/edit dialog and then we can call your custom dialog.

<script> 

    function actionBegin(args) { 

        if (args.requestType == "beforeOpenEditDialog" || args.requestType == "beforeOpenAddDialog") { 

            args.cancel = true; 

            //enter code to open your dialog here 

        } 

    } 

</script> 

Regards,
Monisha.

Loader.
Live Chat Icon For mobile
Up arrow icon