2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
In Gantt, by using “ActionComplete” client-side event with requestType argument as “validatePredecessor” and by disabling the “predecessorValidation” argument we can able to restrict drawing the dependency line to a specific type. The below code snippet explains restricting the dependency line draw action for creating only the FS (Finish-to-Start) dependency type. <ej:Gantt ID="GanttControlDefault" ... ActionComplete="actionComplete"> //... </ej:Gantt> <script> function actionComplete(args) { if (args.requestType == "validatePredecessor" && args.predecessorValidation) args.predecessor.indexOf("FS") != -1 ? (args.predecessorValidation = true) : (args.predecessorValidation = false); } </script> Sample link: Please refer the Sample link for more information about this. |
2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.