menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramDataSource - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramDataSource

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramDataSource
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramDataSource : EJTagHelper

    Constructors

    DiagramDataSource()

    Declaration
    public DiagramDataSource()

    Properties

    ConnectionDataSource

    define connectorDataSource collection

    Declaration
    public DiagramConnectionDataSource ConnectionDataSource { get; set; }
    Property Value
    Type Description
    DiagramConnectionDataSource

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    CrudAction

    Add CrudAction to data source

    Declaration
    public DiagramCrudAction CrudAction { get; set; }
    Property Value
    Type Description
    DiagramCrudAction

    The default value is null

    DataManager

    Sets the data source either as a collection of objects or as an URL of DataManager

    Declaration
    public object DataManager { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    DataMapSettings

    A collection of JSON objects where each object represents an Data Map Items.

    Declaration
    public List<DiagramDataMapSetting> DataMapSettings { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DiagramDataMapSetting>

    The default value is null

    DataSource

    Sets the data source either as a collection of objects or as an URL of DataManager

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    DoBinding

    Binds the custom data with node model

    Declaration
    public object DoBinding { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Id

    Sets the unique id of the data source items

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

    The default value is ""

    Overrides
    Syncfusion.EJ2.EJTagHelper.Id

    ParentId

    Sets the unique id that defines the relationship between the data source items

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

    The default value is ""

    Root

    Sets the unique id of the root data source item

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

    The default value is ""

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