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

Org Chart Editor double click on canvas stop creating New Node

$
0
0

@jvasanthu wrote:

Hi

We need Org Chart Editor double click on canvas stop creating New Node. Only Create new node once you click on the Context Menu. i commented below section. stop creating new node with context menu click too. Please advise

"clickCreatingTool.insertPart" : function(loc) {
this.archetypeNodeData = {
key : getNextKey(), // assign the key based on
// the number of nodes
name : "(new person)",
title : ""
};
return go.ClickCreatingTool.prototype.insertPart
.call(this, loc);

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles