menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ResourceFieldsBuilder

    Show / Hide Table of Contents

    Class ResourceFieldsBuilder

    A builder class that holds Schedule resource items.

    Inheritance
    System.Object
    ResourceFieldsBuilder
    Inherited Members
    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.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class ResourceFieldsBuilder

    Constructors

    ResourceFieldsBuilder(ResourceFields)

    Initializes a new instance of the ResourceFieldsBuilder class to indicate the resource fields.

    Declaration
    public ResourceFieldsBuilder(ResourceFields fields)
    Parameters
    Type Name Description
    ResourceFields fields

    It accepts the value as ResourceFields object.

    Methods

    AppointmentClass(String)

    This field stores the custom CSS class name to appointments depicting to the resource it belongs.

    Declaration
    public ResourceFieldsBuilder AppointmentClass(string appointmentClass)
    Parameters
    Type Name Description
    System.String appointmentClass

    It accepts the custom CSS class name to appointments depicting to the resource it belongs.

    Returns
    Type Description
    ResourceFieldsBuilder

    Color(String)

    This field stores the color value for resource data.

    Declaration
    public ResourceFieldsBuilder Color(string color)
    Parameters
    Type Name Description
    System.String color

    It accepts the color value for resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    Datasource()

    It throws the Datasource exception value if occurred any.

    Declaration
    public object Datasource()
    Returns
    Type Description
    System.Object
    Exceptions
    Type Condition
    System.NotImplementedException

    Datasource(DataSource)

    This field stores DataManager instance that contains the resource data.

    Declaration
    public ResourceFieldsBuilder Datasource(DataSource dataSource)
    Parameters
    Type Name Description
    DataSource dataSource

    It accepts value as DataManager instance that contains the resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    Datasource(Action<DataSourceBuilder>)

    It stores the JSON object collection that contains the resource data.

    Declaration
    public ResourceFieldsBuilder Datasource(Action<DataSourceBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<DataSourceBuilder> dataSource

    It accepts value as JSON object collection that contains the resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    Datasource(IEnumerable)

    This field stores the JSON object collection that contains the resource data.

    Declaration
    public ResourceFieldsBuilder Datasource(IEnumerable dataSource)
    Parameters
    Type Name Description
    System.Collections.IEnumerable dataSource

    It accepts value as JSON object collection that contains the resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    Datasource(String)

    This field stores the resource data URL.

    Declaration
    public ResourceFieldsBuilder Datasource(string dataURL)
    Parameters
    Type Name Description
    System.String dataURL

    It accepts the resource data URL.

    Returns
    Type Description
    ResourceFieldsBuilder

    End(String)

    This field stores the end hour value for resource workhour.

    Declaration
    public ResourceFieldsBuilder End(string end)
    Parameters
    Type Name Description
    System.String end

    It accepts the end hour value for resource workhour.

    Returns
    Type Description
    ResourceFieldsBuilder

    GroupId(String)

    This field stores the groupId value for resource data.

    Declaration
    public ResourceFieldsBuilder GroupId(string group)
    Parameters
    Type Name Description
    System.String group

    It accepts the groupId value for resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    Id(String)

    This field stores the id value for resource data.

    Declaration
    public ResourceFieldsBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id

    It accepts the id value for resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    Query(IEnumerable)

    This field stores the query value for resource data.

    Declaration
    public ResourceFieldsBuilder Query(IEnumerable query)
    Parameters
    Type Name Description
    System.Collections.IEnumerable query

    It accepts the query value for resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    RenderDates(String)

    This field stores the resource custom date value.

    Declaration
    public ResourceFieldsBuilder RenderDates(string renderDates)
    Parameters
    Type Name Description
    System.String renderDates
    Returns
    Type Description
    ResourceFieldsBuilder

    Start(String)

    This field stores the start hour value for resource workhour.

    Declaration
    public ResourceFieldsBuilder Start(string start)
    Parameters
    Type Name Description
    System.String start

    It accepts the start hour value for resource workhour.

    Returns
    Type Description
    ResourceFieldsBuilder

    TableName(String)

    This field stores the table name value for resource data table.

    Declaration
    public ResourceFieldsBuilder TableName(string tableName)
    Parameters
    Type Name Description
    System.String tableName

    It accepts the name of the table.

    Returns
    Type Description
    ResourceFieldsBuilder

    Text(String)

    This field stores the text value for resource data.

    Declaration
    public ResourceFieldsBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text

    It accepts the text value for resource data.

    Returns
    Type Description
    ResourceFieldsBuilder

    WorkWeek(String)

    This field stores the resource workweek value.

    Declaration
    public ResourceFieldsBuilder WorkWeek(string workWeek)
    Parameters
    Type Name Description
    System.String workWeek

    It accepts the resource workweek value.

    Returns
    Type Description
    ResourceFieldsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved