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

Complex Objects with custom TextEditingTool

$
0
0

@ronif wrote:

Hi,
I'm trying to use a custom TextEditingTool of a typeahead/autocomplete nature.
Thing is, when an item is chosen, I need to do more than simply set the text - I also need to set the complex object to my model.
Since i also require the entire node data that has changed, I figured I could have the text edit getValue() would return the complex object, the converter on the two way bind would then use parts of it, and also set the text to the text box.
When I do that however, the converter gets called again..
What i'm looking for is some advise or example on how to work with a complex objects and the text editing tool

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles