JavaScript/jQuery Gantt - toolbar

Configures toolbar settings.

Default Value: null

items[]

Configures toolbar items' settings.

The Gantt UI component allows you to add default and create custom toolbar items.

JavaScript
  • $(function () {
  • $("#gantt").dxGantt({
  • //...
  • toolbar: {
  • items: [
  • 'undo',
  • 'redo',
  • 'separator',
  • {
  • widget: "dxButton",
  • options: {
  • text: "About",
  • icon: "info",
  • stylingMode: "text",
  • onClick: function () {
  • // ...
  • }
  • }
  • }
  • ]
  • }
  • });
  • });