@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