Hello,
I am trying out GoJS. I am working with the example ‘http://gojs.net/latest/samples/orgChartEditor.html’.
In the orgchart is visible: the name, title and ID.
I want the title not to be visible in the chart.
But I still want that if they click on it they can see the title and edit it below the orgchart.
I have been looking at the code
$(go.TextBlock, "Title: ", textStyle(),
{ row: 1, column: 0 }),
$(go.TextBlock, textStyle(),
{
row: 1, column: 1, columnSpan: 4,
editable: true, isMultiline: false,
minSize: new go.Size(10, 14),
margin: new go.Margin(0, 0, 0, 3)
},
new go.Binding("text", "title").makeTwoWay()),
Here I want to add: “display : "none"â€
But that does not work.
My question is how can I make a textblock invissible?
THANKS A LOT FOR ALL YOUR HELP!