new Items()
The Items type defines additional properties and methods of the Items(extree) type. The Items / GetItems() method returns the control's items collection.
Methods
(static) GetDefSchedulePDM() → {DefSchedulePDM}
The GetDefSchedulePDM() method gets the options of the Items.SchedulePDM() method
Returns:
Returns an object of DefSchedulePDM type
- Type
- DefSchedulePDM
(static) SchedulePDM(item, key) → {number}
The SchedulePDM() method arranges the activities on the plan based on the links / relationships / dependencies
Parameters:
Name | Type | Description |
---|---|---|
item |
any | The item parameter could be any of the following:
|
key |
any | Specifies the key of the bar to request (not required if item points to an object of ItemBar type), as one of the following:
|
Returns:
Returns 0 if successful, negative number if any error, or positive as warnings. The SchedulePDM() method can return any of the following:
- 0 {number}, success
- 1 {number}, (warning) no bar provided to SchedulePDM method
- 2 {number}, (warning) single bar in SchedulePDM call
- 3 {number}, (warning) SchedulePDM method is called during the BarResize event (possible a recursive call/stack overflow)
- 4 {number}, (warning) no links between scheduled bars
- -1 {number}, (error) possible cycling
- -2 {number}, (error) can not move the base bar
- -3 {number}, (error) scheduling the A and B bars fails
- -4 {number}, (error) no IN bars
- -5 {number}, (error) base bar is not initialized
- -6 {number}, (error) source bar is not initialized (possible cycling)
- -7 {number}, (error) target bar is not initialized (possible cycling)
- -8 {number}, (error) no TRANSLATION bar
- -9 {number}, (error) bar linked to itself. For instance, a bar linked to its summary bar
- Type
- number
(static) SetDefSchedulePDM(value)
The SetDefSchedulePDM() method sets the options for the SchedulePDM() method
Parameters:
Name | Type | Description |
---|---|---|
value |
DefSchedulePDM | Indicates the options for the Items.SchedulePDM() method, as an object of DefSchedulePDM type |