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

Stop selection change or deletion

$
0
0

@jkainth wrote:

I am using the Tree Layout and model.

When a node is selected, just like the org sample, we have a object properties viewer (in html/angular).
A user can make changes to properties causing validation errors. While in error we want to deny certain actions on the graph:

  • deny selection changing
  • deny deletion (i believe i can use 'canDeleteSelection')

I cannot seem to find a way to cancel selection changing.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6974

Trending Articles