The API document claims that mxGraph.setLocked() exists, but when I use it, I get an error that says it doesn't exist. I don't know if this is a bug or a documentation error. But I would like to lock all my cells, so maybe it's a feature request.

asked 15 Aug '11, 12:56

lwe's gravatar image

lwe
1615
accept rate: 33%


I'll answer my own question. I ran across an example of mxGraph.setCellsLocked() which works for me. The API document does not include this function, however.

link

answered 15 Aug '11, 13:01

lwe's gravatar image

lwe
1615
accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×228
×15
×2

Asked: 15 Aug '11, 12:56

Seen: 2,084 times

Last updated: 15 Aug '11, 13:01