This is a migrated thread and some comments may be shown as answers.
Gantt Toolbar config only working for top
1 Answer 13 Views
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 13 Jan 2020, 01:25 PM

The gantt.configuration.toolbar add task(append) , pdf, custom buttons only update the top of the control.  This is demonstrated in almost all of the the Telerik Dojo examples https://docs.telerik.com/kendo-ui/api/javascript/ui/gantt/configuration/toolbar.   

I'd like an example of how to hide the bottom tool bar.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 15 Jan 2020, 08:18 AM

Hi Ryan,

The bottom toolbar of the Gantt chart could not be adjusted using the configuration options of the widget. Therefore, in order to hide it, you have to hide its contents with CSS:

.k-gantt div:nth-of-type(5) .k-gantt-actions {
  display: none;
}

Here you will find a Dojo sample implementing the above suggestion:

https://dojo.telerik.com/oHEFAdul/5

Alternatively, If the user would not be allowed to create new items, you could set the editable.create option of the widget to false:

https://docs.telerik.com/kendo-ui/api/javascript/ui/gantt/configuration/editable.create

Regards,
Veselin Tsvetanov
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
Ryan
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or