Usage
Signature:
interface GanttRowElement<K3=any,D3=any> extends dvtTimeComponent<ojGanttRowSettableProperties<K3,D3>
Generic Parameters
Parameter Description K3 Type of key of the rowData dataprovider D3 Type of data from the rowData dataprovider
Typescript Import Format
//To typecheck the element APIs, import as below.
import { GanttRowElement } from "ojs/ojgantt";
//For the transpiled javascript to load the element's module, import as below
import "ojs/ojgantt";
For additional information visit:
Attributes
-
label :string
-
The label associated with the row.
- Default Value:
""
-
(nullable) label-style :Partial<CSSStyleDeclaration>
-
The CSS style defining the style of the label. Only CSS style applicable to SVG elements can be used. The following style properties are supported: color, cursor, fontFamily, fontSize, fontStyle, fontWeight, textDecoration.
- Default Value:
{}
-
reference-objects :Array.<Object>
-
The reference objects associated with the row. This is optional and is only used if data is set using row-data attribute.
- Default Value:
[]
-
(nullable) short-desc :(string | ((context: ojGantt.RowShortDescContext<K3,D3>) => string))
-
The description of the row. This is used for accessibility.
- Default Value:
null
-
tasks :Array.<Object>
-
The tasks associated with the row. This is required if data is set using row-data attribute.
- Default Value:
[]