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

Binding field choices properties

$
0
0

@sparksdev wrote:

Hello,

Which are properties of the a new go.Binding("choices").makeTwoWay()) that can be changed using function:

model.setDataProperty(dataNodeArray, propertyName, contentProperty);

This property:

$(go.TextBlock, {
                    row: 1,
                    column: 1,
                    editable: true,
                    text: "Select ...",
                    textEditor: window.TextEditorSelectBox,
                    isMultiline: false,
                    font: "12pt Arial",
                    maxSize: new go.Size(180, NaN),
                    desiredSize: new go.Size(200, NaN),
                    stroke: "whitesmoke",
                    margin: 2,
                }, new go.Binding("choices").makeTwoWay()),

The property: text: “Select …” can be changed using setDataProperty ?

Posts: 14

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles