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

Add dynamic data to TextBlock using add button

$
0
0

@mohanr.k wrote:

Hi,
Implemented a panel with PanelExpanderButton,TextBlock and Add Button. Requirement is to hide PanelExpanderButton if there is no text in text block. User can add an empty string using the Add button and then he should be able to edit the data. The problem is I was not able to figure out a way to make PanelExpanderButton as visible when user clicks on Add button. I tried to use two way binding on visible property of PanelExpanderButton but this didn't work for me.

As shown below when I have data while creating diagram PanelExpanderButton is visible

In below scenario I don't have data during diagram creation. So user will use Add button to add the data

Any help on this is appreciated

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles