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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Approval process right before every miles stone

Thread ID:





141802 Jan 4,2019 03:55 PM UTC Jan 7,2019 09:51 AM UTC ASP.NET MVC 1
Tags: Gantt
Prakash Acharya
Asked On January 4, 2019 03:55 PM UTC

Is it possible to set an approval/review process before a milestone is completed? If so, please help how I can achieve this?

Jayakumar Duraisamy [Syncfusion]
Replied On January 7, 2019 09:51 AM UTC

Hi Prakash, 
We have analyzed your query, but we are unable to understand your exact requirement. Hence, we have assumed to add new task for “Approve/review” above the milestone task and it can be achieve using “create” client side. We can also dynamically update using “endEdit” event.  
Please find the code example below: 
function create(args) { 
            var jsonData = $.extend([], args.model.updatedRecords); 
            for (var i = 0; i < jsonData.length; i++) { 
                if (!jsonData[i].hasChildRecords && jsonData[i].duration == 0) {                        this.selectedRowIndex(args.model.updatedRecords.indexOf(jsonData[i])); 
                    this.addRecord({ "TaskID": jsonData[i].item[args.model.taskIdMapping] + 1, "TaskName": "Approved", "StartDate": jsonData[i].item[args.model.startDateMapping], "Duration": jsonData[i].item[args.model.durationMapping] + 1 }, ej.Gantt.RowPosition.AboveSelectedRow); 
We have also prepared the sample based on this. Please find the sample from below location 
If our assumption is wrong, please share us more details/screenshots related to this query with us. It would be helpful for us to serve you better.  
Jayakumar D 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon