Can we add a black border for an Auto Panel in the node?
Right now I get a Trying to set undefined property “stroke” on object: Panel(Panel.Auto)#776
The structure of the node goes like this
(go.Panel, 'Auto',
{
row: 1, column: 1, name: 'BODY',
stretch: go.GraphObject.Fill,
stroke: 'black'
},
(go.Panel, ‘Table’,
{
row: 0, column: 0, name: ‘BODY’,
stretch: go.GraphObject.Fill,
background: ‘white’,
defaultAlignment: go.Spot.TopLeft
}
You need a main shape (presumably a Rectangle) to surround the content of your Table panel. Then just style the shape as you wish. Read about Auto panels here: GoJS Panels -- Northwoods Software.