How to control visibility of a Check box button

Hi Walter
i have a node and in that node a checkbox.
and I want that checkbox only visible on any particular condition.So what to do regarding this.

The normal way to control the visibility of any GraphObject is to bind GraphObject.visible.

You can find lots of examples of this throughout the samples and extensions – just search for “visible” with the double quotes.

goJs(“CheckBox”, “checked”, { “_buttonFillOver”: “transparent”, “_buttonStrokeOver”: “black”, visible:false},
I used visible property .But how to change this property by javascript>How can we access checkbox through node.

Read about data binding:

http://gojs.net/latest/intro/usingModels.html
http://gojs.net/latest/intro/dataBinding.html

Thanks thanks

How can we apply stroke to picture .
Picture is like this-
goJs(go.Node, “Table”, nodeStyle(),
{
click: Ciel.Process.ProcessDesign.CreateJob.fileNodeClicked, selectionChanged: Ciel.Process.ProcessDesign.CreateJob.objPropertiesPanelVM.updatePropertiesPanel,
selectionAdorned: false, doubleClick: Ciel.Process.ProcessDesign.CreateJob.fileNodeDoubleClicked,//selection
},
goJs(go.Picture, shapeStyle(),
{ row: 1, column: 1, name: “shape”, desiredSize: new go.Size(65,75), maxSize: new go.Size(160, 160), minSize: new go.Size(65, 75) }, {
source: CONFIG_APP_BASEURL + “/Areas/Process/Images/databasetable.png”,
fromSpot: go.Spot.Right, toSpot: go.Spot.Left,stroke:“red”
},
new go.Binding(‘width’).makeTwoWay(),
new go.Binding(‘height’).makeTwoWay()),

Please reply soon!!

Put it inside an Auto or Spot Panel with a Shape as the main element. There are many examples of this.

http://gojs.net/latest/intro/pictures.html
http://gojs.net/latest/intro/panels.html

Please read the intro pages and search the samples before asking questions.