The Gantt UI component allows you to add default and create custom toolbar items.
- $(function () {
- $("#gantt").dxGantt({
- //...
- toolbar: {
- items: [
- 'undo',
- 'redo',
- 'separator',
- {
- widget: "dxButton",
- options: {
- text: "About",
- icon: "info",
- stylingMode: "text",
- onClick: function () {
- // ...
- }
- }
- }
- ]
- }
- });
- });