Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6969

Org chart editor disable the node

$
0
0

@jvasanthu wrote:

Hi Walter

How to disable the node and grey out the color
i am doing below but it is not greying out.

myDiagram.nodes.each(function(n) {
var shape = n.findObject("SHAPE");
if (shape) shape.fill = $(go.Brush, "Linear", { 0: '#A9A9A9', 1: go.Brush.lightenBy('#A9A9A9', 0.05), start: go.Spot.Left, end: go.Spot.Right });
}

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles