Hi!
I got this error when I try to edit my task. This is happening when try to connect new points, when resizing, when child drag, etc
|
This issue occurs because editing requires a primary key column. By default, the TaskId column will be the primary key column. You can avoid this by either setting the visibility of the TaskId column as false or you can set another column as the primary key column by mapping the IsPrimaryKey field to another column. By doing this, you do not have to map the TaskId column. For more details, please refer to our Online Documentation. We have shared code snippets for how to hide the column.
Code snippets:
Online documentation: https://ej2.syncfusion.com/vue/documentation/gantt/managing-tasks/#troubleshoot-editing-works-only-when-primary-key-column-is-defined
Regards,
Premkumar S |