How to get the string content of an object, if i alert cell or vertex, i get [object]...?

\n

Thanks in advance

asked 19 Mar '12, 00:30

hansie's gravatar image

hansie
51428
accept rate: 0%

edited 19 Mar '12, 00:30


Try mxGraph.getLabel.

link

answered 19 Mar '12, 00:41

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

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
×79
×66
×11
×5

Asked: 19 Mar '12, 00:30

Seen: 1,868 times

Last updated: 19 Mar '12, 01:44