Gantt 
You use this UI element to create Gantt Charts. You can display the chronological process flow of projects and their substeps. In particular, you can show the sequential and parallel work steps in a project. A Gantt is similar to a bar chart.
Note
You can also use Web icons in Gantt, by specifying the URL using CL_WD_WEB_ICON=>GET_WEB_ICON_URL( ).
Caution
The integration of active controls like Gantt in Web Dynpro ABAP popups is not supported.
A standard browser and a Java runtime in the form of the Sun plug-in must be installed on the front end. The Java version should be 1.5. Windows and Linux are supported.
Example of the display: Gantt in cProjects

Note
To enable the development of accessible applications, the tooltip property is not checked during the syntax check.
Runtime Class |
CL_WD_GANTT |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
STRING |
(automatic) |
No |
|
STRING |
No |
||
STRING |
No |
||
STRING |
No |
||
STRING |
No |
||
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
XSTRING |
Mandatory |
||
WDY_BOOLEAN |
true |
Yes |
|
STRING |
300px |
Yes |
|
WDUI_LIFE_TIME |
whenVisible |
Yes |
|
WDUI_LOOK_AND_FEEL |
ur |
Yes |
|
Translatable text |
Yes |
||
STRING |
No |
||
WDUI_VISIBILITY |
visible |
Yes |
|
STRING |
300px |
Yes |
Events in View Designer
Name |
|---|
Note
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
For dynamic programming, the same properties, events and aggregations are available as in the View Designer. But note that the spelling format and use of upper/lower case is different.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
|---|---|---|
ADDITIONAL_ARCHIVES |
STRING |
|
ARCHIVE |
STRING |
|
CLASS_ID |
STRING |
|
CODE_BASE |
STRING |
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
contextMenuBehaviour: inherit |
CL_WD_GANTT=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_GANTT=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_GANTT=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
DATA_SOURCE |
XSTRING |
|
ENABLED |
WDY_BOOLEAN |
|
HEIGHT |
STRING |
|
LIFE_TIME |
WDUI_LIFE_TIME |
|
lifeTime whenAlive |
CL_WD_GANTT=>E_LIFE_TIME-WHEN_ALIVE |
|
lifeTime whenVisible |
CL_WD_GANTT=>E_LIFE_TIME-WHEN_VISIBLE |
|
LOOK_AND_FEEL |
WDUI_LOOK_AND_FEEL |
|
lookAndFeel: frog |
CL_WD_GANTT=>E_LOOK_AND_FEEL-FROG |
|
lookAndFeel: java |
lCL_WD_GANTT=>E_LOOK_AND_FEEL-JAVA |
|
lookAndFeel: ur |
CL_WD_GANTT=>E_LOOK_AND_FEEL-UR |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
TYPE |
STRING |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_GANTT=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_GANTT=>E_VISIBLE-VISIBLE |
|
WIDTH |
STRING |
Dynamic Programming of Events
View Designer Name |
Runtime Name |
|---|---|
ON_CELLS_SELECTED |
|
ON_CELL_EDITED |
|
ON_COLUMN_ADDED |
|
ON_COLUMN_MOVED |
|
ON_COLUMN_REMOVED |
|
ON_CUSTOM_COMMAND |
|
ON_EDGE_ADDED |
|
ON_EDGE_PROPS_CHANGED |
|
ON_EDGE_REMOVED |
|
ON_EDGE_SELECTED |
|
ON_FRAME_SWITCHED |
|
ON_GENERIC |
|
ON_GRAPH_ADDED |
|
ON_GRAPH_REMOVED |
|
ON_INITIALIZED |
|
ON_LAYOUT_CHANGED |
|
ON_LINK_ADDED |
|
ON_LINK_CHANGED |
|
ON_LINK_REMOVED |
|
ON_MODEL_ADDED |
|
ON_MODEL_DIRTY |
|
ON_MODEL_EXTRACTED |
|
ON_MODEL_SAVED |
|
ON_NODE_ADDED |
|
ON_NODE_DBL_CLK |
|
ON_NODE_PROPS_CHANGED |
|
ON_NODE_REMOVED |
|
ON_NODE_SELECTED |
|
ON_RECTANGLE_SELECTED |
|
ON_ROW_ADDED |
|
ON_ROW_COLLAPSED |
|
ON_ROW_EXPANDED |
|
ON_ROW_MOVED |
|
ON_ROW_REMOVED |
|
ON_ROW_SELECTED |
|
ON_SELECTION_CHANGED |
|
ON_TRACE_LEVEL_CHANGED |
You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the GANTT view, and in the component WDR_GANTT_TEST.
You can find more information about method handler IF_WD_GANTT_METHODS in the system in the system documentation.
JNet – Introduction for Developers