Element: <oj-gantt-row>

Oracle® JavaScript Extension Toolkit (JET)
5.2.0

E97691-01

QuickNav

Attributes

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Version:
  • 5.2.0
Since:
  • 5.2.0
Module:
  • ojgantt

JET Gantt Row

The oj-gantt-row element is used to declare properties for gantt rows and is only valid as the child of a template element for the rowTemplate slot of oj-gantt.


<oj-gantt task-data="[[taskDataProvider]]">
  <template slot="rowTemplate">
    <oj-gantt-row
      label="[[$current.tasks[0].data.resource]]">
    </oj-gantt-row>
  </template>
</oj-gantt>

Attributes

label :string

The label associated with the row.
Default Value:
  • ""
Example

Initialize the gantt row with the label attribute specified:

<oj-gantt-row label="[[$current.tasks[0].data.resource]]"></oj-gantt-row>

label-style :Object

The CSS style defining the style of the label. Only CSS style applicable to SVG elements can be used.
Default Value:
  • {}
Example

Initialize the gantt row with the label-style attribute specified:

<oj-gantt-row label-style='[[($current.tasks[0].data.type === "summary") ? {"fontWeight": 500} : {}]]'></oj-gantt-row>