Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141219 | Nov 30,2018 03:00 AM UTC | Dec 4,2018 06:20 AM UTC | ASP.NET Web Forms | 1 |
![]() |
Tags: Diagram |
var diagramObj = JSON.parse(CallbackPanel.cpDiagramString) // the diagram schema if (editingRights == false){ // Prevent editing if no write access if (diagramObj.nodes) { var NodeConstraints = ej.datavisualization.Diagram.NodeConstraints; diagramObj.nodes.forEach(function (node) { node.constraints = NodeConstraints.Select; }); } if (diagramObj.connectors) { var ConnectorConstraints = ej.datavisualization.Diagram.ConnectorConstraints; diagramObj.connectors.forEach(function (connector) { connector.constraints = ConnectorConstraints.Select; }); } } $("#diagram").ejDiagram(diagramObj); |
Node.constraints = NodeConstraints.PointerEvents | NodeConstraints.Select
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.