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

How to conditionally display a TextBlock?

$
0
0

@mutt_1924 wrote:

Imagine you have a node with a TextBlock for the "heading", and then for the case where there is additional info you want to add for the "body text" below the heading, you have a second TextBlock.
For cases where you have no "body text" you want to display, the TextBlock for the "body text" for all purposes needs to be hidden.

How can this be done in GoJS? I am unable to see how this could work. It's super simple with regular html and javascript, but with GoJS, it is becoming painful to try to find a solution for these types of issues.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles