menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScheduleResource - API Reference

    Show / Hide Table of Contents

    Class ScheduleResource

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    ScheduleResource
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.Schedule
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ScheduleResource : EJTagHelper

    Constructors

    ScheduleResource()

    Declaration
    public ScheduleResource()

    Properties

    AllowMultiple

    When set to true, allows multiple selection of resource names, thus creating multiple instances of same appointment for the selected resources.

    Declaration
    [HtmlAttributeName("allowMultiple")]
    public bool AllowMultiple { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    ColorField

    It maps the color field from the dataSource, which is used to specify colors for the resources.

    Declaration
    [HtmlAttributeName("colorField")]
    public string ColorField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Color"

    CssClassField

    It maps the cssClass field from the dataSource, which is used to specify different styles to each resource appointments.

    Declaration
    [HtmlAttributeName("cssClassField")]
    public string CssClassField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "CssClass"

    DataSource

    Assigns the resource dataSource The data can be passed either as an array of JavaScript objects, or else can create an instance of DataManager in case of processing remote data and can be assigned to the dataSource property. With the remote data assigned to dataSource, check the available adaptors to customize the data processing.

    Declaration
    [HtmlAttributeName("dataSource")]
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    EndHourField

    It maps the endHour field from the dataSource, which is used to specify different work end hour for each resources.

    Declaration
    [HtmlAttributeName("endHourField")]
    public string EndHourField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "EndHour"

    ExpandedField

    It maps the expanded field from the dataSource, which is used to specify whether each resource levels in timeline view needs to be maintained in an expanded or collapsed state by default.

    Declaration
    [HtmlAttributeName("expandedField")]
    public string ExpandedField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Expanded"

    Field

    A value that binds to the resource field of event object.

    Declaration
    [HtmlAttributeName("field")]
    public string Field { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    GroupIDField

    It maps the groupID field from the dataSource, which is used to specify under which parent resource, the child should be grouped.

    Declaration
    [HtmlAttributeName("groupIDField")]
    public string GroupIDField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "GroupID"

    IdField

    It maps the id field from the dataSource and is used to uniquely identify the resources.

    Declaration
    [HtmlAttributeName("idField")]
    public string IdField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Id"

    Name

    It represents a unique resource name for differentiating various resource objects while grouping.

    Declaration
    [HtmlAttributeName("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Query

    Defines the external query that will be executed along with the data processing.

    Declaration
    [HtmlAttributeName("query")]
    public string Query { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    StartHourField

    It maps the startHour field from the dataSource, which is used to specify different work start hour for each resources.

    Declaration
    [HtmlAttributeName("startHourField")]
    public string StartHourField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "StartHour"

    TextField

    It maps the text field from the dataSource, which is used to specify the resource names.

    Declaration
    [HtmlAttributeName("textField")]
    public string TextField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Text"

    Title

    It holds the title of the resource field to be displayed on the schedule event editor window.

    Declaration
    [HtmlAttributeName("title")]
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    WorkDaysField

    It maps the working days field from the dataSource, which is used to specify different working days for each resources.

    Declaration
    [HtmlAttributeName("workDaysField")]
    public string WorkDaysField { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "WorkDays"

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved