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

How to disable deselection of nodes

$
0
0

@rdheepan wrote:

Hi we have a diagram with maxSelectionCount is set to 1 and one node is selected on load. If the user clicks on the background, the selection goes off (deselected). is there anyway to restrict this? means, user can select an another node but cannot deselect( there should be always one node selected ).

I have seen DiagramEvents where i can find the previously selected node and select it again. But is there any way directly preventing deselection?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles