ig.scheduler.ScheduleResource
Dependencies
-
ig.scheduler.ScheduleResource
Constructor- new $.ig.scheduler.ScheduleResource( );
Creates a new instance with default values.
Remarks
This overload assigns a new GUID to the ScheduleResource.id property. Use the ScheduleResource..ctor overload to provide a specific Id, and optionally a ScheduleResource.displayName.
See Also
-
ig.scheduler.ScheduleResource
Constructor- new $.ig.scheduler.ScheduleResource( id:string, [displayName:string] );
Creates a new instance.
- id
- Type:string
- The unique identifier for this instance.
- displayName
- Type:string
- Optional
- Optional; a string which is displayed in the user interface. In the absence of an explicit settings, the ScheduleResource.id property is displayed.
-
colorScheme
- .colorScheme( );
Returns a constant which identifies the color scheme for this resource, or null if no color scheme is explicitly set.
Remarks
If a value is not explicitly assigned to this property, a value is automatically resolved by selecting the next available unused color scheme. This ensures that each resource has a unique color, except in cases where the number of resources exceeds the number of constants defined by the ScheduleResourceColorScheme enumeration.
The automatic resolution process skips over values that have been explicitly assigned, until the number of resources defined by the data source exceeds the number of constants defined in the enumeration.
-
colorScheme
- .colorScheme( value:ig.scheduler.ScheduleResourceColorScheme );
Sets a constant which identifies the color scheme for this resource, or null if no color scheme is explicitly set.
- value
- Type:ig.scheduler.ScheduleResourceColorScheme
Remarks
If a value is not explicitly assigned to this property, a value is automatically resolved by selecting the next available unused color scheme. This ensures that each resource has a unique color, except in cases where the number of resources exceeds the number of constants defined by the ScheduleResourceColorScheme enumeration.
The automatic resolution process skips over values that have been explicitly assigned, until the number of resources defined by the data source exceeds the number of constants defined in the enumeration.
-
daysOfWeekSettings
- .daysOfWeekSettings( );
- Return Type:
- ig.scheduler.ScheduleDaysOfWeekSettings
- Return Type Description:
- Returns a ScheduleDaysOfWeekSettings.
Returns an object which contains a settings object for each day of the week, with which workdays and working hours can be customized.
Remarks
By default, all resources have the same workdays and working hours, as defined by the associated control.
This property can be used to customize the workdays and working hours for the associated resource.
-
daysOfWeekSettings
- .daysOfWeekSettings( value:ig.scheduler.ScheduleDaysOfWeekSettings );
- Return Type:
- ig.scheduler.ScheduleDaysOfWeekSettings
- Return Type Description:
- Returns a ScheduleDaysOfWeekSettings.
Sets an object which contains a settings object for each day of the week, with which workdays and working hours can be customized.
- value
- Type:ig.scheduler.ScheduleDaysOfWeekSettings
Remarks
By default, all resources have the same workdays and working hours, as defined by the associated control.
This property can be used to customize the workdays and working hours for the associated resource.
-
destroy
- .destroy( );
Releases any memory previously used by this object.
-
displayName
- .displayName( );
A string which identifies this resource in the user interface.
-
displayName
- .displayName( value:string );
A string which identifies this resource in the user interface.
- value
- Type:string
-
id
- .id( );
Returns the unique identifier for this resource.
-
toString
- .toString( );
Returns the string representation of this object.