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

Tree Mapping : : highlight attributes based on the nodeDataArray condition

$
0
0

@senoz wrote:

Need to highlight the node based on the condition of nodeDataArray properties.

if prop is true then highlight the node

How to do that…?

the below code is not working .

```
 this.$(go.TextBlock,
            new go.Binding('text', 'data', function(s) {
if(s.madatory) {
              new go.Binding('background', 'isHighlighted');
}
              return s;
            }))

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 6972

Trending Articles