Namespace: GanttUtils

Oracle® JavaScript Extension Toolkit (JET)
17.1.0

G12196-01

Since:
  • 6.0.0
Module:
  • ojganttutils

QuickNav

Description

This class provides functions needed for aligning an ojTable with an ojGantt.


Usage

Typescript Import Format
//This namespace exports multiple static methods or members. To import 
import * as GanttUtils from "ojs/ojganttutils";

//Now you can access the methods as GanttUtils.methodName and so on

For additional information visit:


Methods

(static) .computeTableColumnHeaderHeight(table, gantt, axisInfo) : {number}

Calculate the height required to set on the oj-table column header to match the height of the time axis in oj-gantt.
Parameters:
Name Type Description
table Element the oj-table element
gantt Element the oj-gantt element
axisInfo Object information about the axis in oj-gantt
Properties
Name Type Argument Description
majorAxis Object <optional>
information about the major axis in oj-gantt. See majorAxis in oj-gantt.
Properties
Name Type Argument Description
converter oj.ojTimeAxis.Converters | oj.Converter.<string> <optional>
A converter used to format the labels of the axis.
height number <optional>
The height of the minor axis in pixels. If not specified or invalid, the gantt's default value is assumed.
scale string <optional>
The time scale used for the axis.
zoomOrder Array.<string> <optional>
An array of strings containing the names of scales used for zooming from longest to shortest.
minorAxis Object information about the minor axis in oj-gantt. See minorAxis in oj-gantt.
Properties
Name Type Argument Description
converter oj.ojTimeAxis.Converters | oj.Converter.<string> <optional>
A converter used to format the labels of the axis.
height number <optional>
The height of the minor axis in pixels. If not specified or invalid, the gantt's default value is assumed.
scale string <optional>
The time scale used for the axis.
zoomOrder Array.<string> <optional>
An array of strings containing the names of scales used for zooming from longest to shortest.
Returns:

the height required to set on the oj-table column header to match the height of the time axis in oj-gantt

Type
number