JavaScript/jQuery Gantt - toolbar
Type:
Default Value: null
items[]
Type:
Accepted Values: 'separator' | 'undo' | 'redo' | 'expandAll' | 'collapseAll' | 'addTask' | 'deleteTask' | 'zoomIn' | 'zoomOut' | 'taskDetails' | 'fullScreen' | 'resourceManager' | 'showResources' | 'showDependencies'
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 () {
- // ...
- }
- }
- }
- ]
- }
- });
- });
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.