DiagramDataSourceBuilder
Methods
ShapeDataSource()
Defines the shapes DataSource of the Diagram component.
Example
@(Html.Kendo().Diagram<OrgChartShape, OrgChartConnection>()
.Name("diagram")
.DataSource(dataSource => dataSource
.ShapeDataSource()
.Read("ReadShapes", "DiagramData")
)
)
Custom()
Use it to configure Custom binding.
SignalR()
Use it to configure SignalR binding.
Read(System.Action)
Configures the URL for Read operation.
Parameters
configurator - System.Action<CrudOperationBuilder>
Read(System.String,System.String,System.Object)
Sets controller, action and routeValues for Read operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller Name
routeValues - System.Object
Route values
Read(System.String,System.String)
Sets controller and action for Read operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller Name
Events(System.Action)
Configures the client-side events
Parameters
configurator - System.Action<DataSourceEventBuilder>
Model(System.Action)
Configures the model
Parameters
configurator - System.Action<HierarchicalModelDescriptorBuilder>
ServerFiltering()
Specifies if filtering should be handled by the server.
ServerFiltering(System.Boolean)
Specifies if filtering should be handled by the server.