Start of Content Area

Background documentation Gantt Locate the document in its SAP Library structure

You use this UI element to create Structure linkGantt Charts. You can display the time schedule of projects and the stages of projects. In particular you can show sequential and parallel work progress steps in one 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.

More Information:

UI Element Gantt

Structure linkJNet – Introduction for Developers

Example of the Visual Display: Gantt in cProjects

This graphic is explained in the accompanying text

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

ID

STRING

(automatic)

no

additionalArchives

STRING

 

no

archive

STRING

 

no

classId

STRING

 

no

codeBase

STRING

 

no

dataSource

XSTRING

 

Mandatory

enabled

WDY_BOOLEAN

true

yes

height

STRING

300px

yes

tooltip

Text

 

yes

type

STRING

 

no

visible

WDUI_VISIBILITY

visible

yes

width

STRING

300px

yes

 

Events in View Designer

Name

onCellsSelected

onCellEdited

onColumnAdded

onColumnMoved

onColumnRemoved

onGeneric

onRowAdded

onRowCollapsed

onRowExpanded

onRowMoved

onRowRemoved

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:

        AbstractActiveComponent

        UIElement

        ViewElement

Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in the view designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

additionalArchives

ADDITIONAL_ARCHIVES

STRING

archive

ARCHIVE

STRING

classId

CLASS_ID

STRING

codeBase

CODE_BASE

STRING

dataSource

DATA_SOURCE

XSTRING

enabled

ENABLED

WDY_BOOLEAN

height

HEIGHT

STRING

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

type

TYPE

STRING

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_GANTT=>E_VISIBLE-NONE

visible: visible

CL_WD_GANTT=>E_VISIBLE-VISIBLE

width

WIDTH

STRING

 

Dynamic Programming of Events

View Designer Name

Runtime Name

onCellsSelected

ON_CELLS_SELECTED

onCellEdited

ON_CELL_EDITED

onColumnAdded

ON_COLUMN_ADDED

onColumnMoved

ON_COLUMN_MOVED

onColumnRemoved

ON_COLUMN_REMOVED

onGeneric

ON_GENERIC

onRowAdded

ON_ROW_ADDED

onRowCollapsed

ON_ROW_COLLAPSED

onRowExpanded

ON_ROW_EXPANDED

onRowMoved

ON_ROW_MOVED

onRowRemoved

ON_ROW_REMOVED

Example

You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the view GEO_MAP.

 

 

End of Content Area