Class DiagramDataSource
Inheritance
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<Syncfusion.EJ2.Diagrams.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
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 "" |