Show TOC Start of Content Area

Object documentation Gantt This graphic is explained in the accompanying text  Locate the document in its SAP Library structure

Definition

A Gantt diagram or bar chart graphically represents a chronological sequence of activities in the form of bars on a time axis. The individual activities are represented in rows using horizontal bars. The Gantt element allows you to use a JGantt applet. The Gantt data and display are defined by an xml file that needs to be provided in the context and then bound to the context using data binding in the dataSource property.

More information about the XML structure: JNet/JGantt Developer Documentation

Properties

      dataSource

Determines the data source of the Gantt. You can use it to specify the path to the context node providing the data.

      height

Determines the height of the Gantt element, which you can specify in relative CSS units like em or ex.

      width

Determines the width of the Gantt element, which you can specify in relative CSS units like em, ex, or percentages.

Properties Overview

Name

Interface

Type

Initial Value

Bindable

dataSource

IWDGantt

Object

 

bindable_mandatory

enabled

IWDUIElement

boolean

true

bindable

height

IWDAbstractActiveComponent

String

300px

bindable

tooltip

IWDUIElement

String

 

bindable

visible

IWDUIElement

WDVisibility

visible

bindable

width

IWDAbstractActiveComponent

String

300px

bindable

Events

      onCellEdited (String chart, String component, String graph, String parameters)

The user has clicked a cell. The table cell must be defined as a hyperlink.

      onCellsSelected (String chart, String component, String graph, String parameters)

      onColumnAdded (String chart, String component, String graph, String parameters)

      onColumnMoved (String chart, String component, String graph, String parameters)

Triggered after the user has moved or resized a column.

      onColumnRemoved (String chart, String component, String graph, String parameters)

      onCustomCommand (String chart, String component, String graph, String parameters)

Application-specific command called either by the user or by an external controller.

      onEdgeAdded(String chart, String component, String graph, String parameters)

Link added to a node, though not connected to another node.

      onEdgePropsChanged(String chart, String edge, String graph, String parameters)

      onEdgeRemoved(String chart, String component, String graph, String parameters)

      onEdgeSelected(String chart, String edge, String graph, String parameters)

      onFrameSwitched(String chart, String component, String graph, String parameters)

The frame has changed:

      onGeneric(String chart, String component, String graph, String name, String parameters)

Allows the inclusion of user-defined events.

      onGraphAdded(String chart, String graph, String parameters, String subGraph)

      onGraphRemoved(String chart, String graph, String parameters, String subGraph)

      onInitialized(String chart, String graph, String parameters)

      onLayoutChanged(String chart, String graph, String node, String parameters)

      onLinkAdded(String chart, String graph, String link, String parameters)

      onLinkChanged(String chart, String component, String graph, String parameters)

      onLinkRemoved(String chart, String graph, String link, String parameters)

      onModelAdded(String chart, String graph, String parameters)

      onModelDirty(String chart, String graph, String parameters)

      onModelExtracted(String chart, String graph, String newGraph, String parameters)

      onModelSaved(String chart, String graph, String parameters, String reply)

      onNodeAdded(String chart, String graph, String node, String parameters)

      onNodeDoubleClicked(String chart, String graph, String node, String parameters, String subComponents)

      onNodePropsChanged(String chart, String graph, String node, String parameters)

A node property has changed. This does not apply for the node position. If the node position is changed, event onLayoutChanged is triggered.

      onNodeRemoved(String chart, String graph, String node, String parameters)

      onNodeSelected(String chart, String graph, String node, String parameters, String subComponents)

      onRectangleSelected(String chart, String component, String graph, String parameters)

      onRowAdded(String chart, String component, String graph, String parameters)

      onRowCollapsed(String chart, String component, String graph, String parameters)

      onRowExpanded(String chart, String component, String graph, String parameters)

      onRowMoved(String chart, String component, String graph, String parameters)

      onRowRemoved(String chart, String component, String graph, String parameters)

      onRowSelected(String chart, String component, String graph, String parameters)

      onSelectionChanged(String chart, String component, String graph, String parameters)

      onTraceLevelChanged(String chart, String graph, String level, String parameters)

 

 

End of Content Area