ig.scheduler.ScheduleResource

Represents an entity to which an activity can belong, i.e., an owner.

Dependencies

jquery-1.4.4.js
infragistics.util.js
infragistics.ext_core.js
infragistics.ext_collections.js
infragistics.ext_collectionsExtended.js
infragistics.ext_io.js
infragistics.ext_text.js
infragistics.ext_web.js
infragistics.dv_core.js
infragistics.dv_jquerydom.js
infragistics.dv_interactivity.js
infragistics.ext_ui.js
The current widget has no options.
The current widget has no events.
  • 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.

  • 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.

  • dataObject
    Inherited

    .dataObject( );

    Returns the data object from which this activity or resource was created, or null if it has no associated data object.

  • 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.

  • onPropertyChanged
    Inherited

    .onPropertyChanged( propertyName:string );

    Raises the PropertyChanged event.

    • propertyName
    • Type:string
  • toString

    .toString( );

    Returns the string representation of this object.

Copyright © 1996 - 2024 Infragistics, Inc. All rights reserved.