This is a migrated thread and some comments may be shown as answers.

Remove Add Task Button

1 Answer 180 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 07 Feb 2019, 02:16 PM

How do you remove the "Add Task" button?  My Gantt chart is completely driven from database values, so I don't want my users to be able to add tasks to the Gantt, they only need to see schedule.

Thanks

Ken

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 11 Feb 2019, 03:30 PM
Hi Ken,

Setting the  .Editable(false) configuration will make the gantt read-only and will remove the "Add Task" button as well.

You can see its result in the following demo and compare it with any of the other demos where editing is not disabled: https://demos.telerik.com/aspnet-core/gantt/selected-date-and-range.

You can read more about the editable configuration options in the following page in case you are seeking more granular settings: https://docs.telerik.com/kendo-ui/api/javascript/ui/gantt/configuration/editable. For example, if you want to disable creation only but keep deleting, and editing - you can set .Editable(ed => ed.Create(false).DependencyCreate(false))


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Gantt
Asked by
Ken
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or