ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScheduleResource - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScheduleResource

    Inheritance
    System.Object
    EJTagHelper
    ScheduleResource
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    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
    public bool AllowMultiple { get; set; }
    Property Value
    Type Description
    System.Boolean

    ColorField

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

    Declaration
    public string ColorField { get; set; }
    Property Value
    Type Description
    System.String

    CssClassField

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

    Declaration
    public string CssClassField { get; set; }
    Property Value
    Type Description
    System.String

    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
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    EndHourField

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

    Declaration
    public string EndHourField { get; set; }
    Property Value
    Type Description
    System.String

    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
    public string ExpandedField { get; set; }
    Property Value
    Type Description
    System.String

    Field

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

    Declaration
    public string Field { get; set; }
    Property Value
    Type Description
    System.String

    GroupIDField

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

    Declaration
    public string GroupIDField { get; set; }
    Property Value
    Type Description
    System.String

    IdField

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

    Declaration
    public string IdField { get; set; }
    Property Value
    Type Description
    System.String

    IsChild

    Declaration
    protected override bool IsChild { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsChild

    Name

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

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Query

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

    Declaration
    public string Query { get; set; }
    Property Value
    Type Description
    System.String

    StartHourField

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

    Declaration
    public string StartHourField { get; set; }
    Property Value
    Type Description
    System.String

    TextField

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

    Declaration
    public string TextField { get; set; }
    Property Value
    Type Description
    System.String

    Title

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

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    System.String

    WorkDaysField

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

    Declaration
    public string WorkDaysField { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved