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

Gojs textblock - edit text later

$
0
0

@sjcatch wrote:

Hi all,

Simple code but no solution yet

this.diagramTitle =
$(go.Part,
{
layerName: 'Grid',
data: new go.Point(0, 2),
},
$(go.TextBlock, //Note this is just title node so binding needed and not added as part of node collection
{
text: ' this is my title'
}, { font: 'bold 10pt sans-serif', stroke: 'green' }));

this.myDiagram.add(this.diagramTitle);

Based on external paramters now I have to change the title
I am trying find this go.part and modify the text which i am not able to do
Any quick suggestion will be appreciated

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles