-
Is it possible to use table in table?
-
If not, is it possible for margin to be set for top as well, not just left?
-
For example
$(go.Panel, “Table”,
{ margin: 4, maxSize: new go.Size(400, 400) },
// the two TextBlocks in column 0 both stretch in width
// but align on the left side
$(go.RowColumnDefinition,
{
column: 0,
stretch: go.GraphObject.Horizontal,
alignment: go.Spot.Left
}
),
$(go.Panel, “Table”,
{ margin: 4, maxSize: new go.Size(400, 400) },
// the two TextBlocks in column 0 both stretch in width
// but align on the left side
$(go.RowColumnDefinition,
{
column: 0,
stretch: go.GraphObject.Horizontal,
alignment: go.Spot.Left
}
),
$(go.TextBlock,
{
row: 0, column: 0, margin: 0
font: “bold 12pt sans-serif”,
alignment: go.Spot.Top
},
new go.Binding(“text”, “name”)
),
)
$(go.TextBlock,
{
row: 0, column: 0, margin: 0
font: “bold 12pt sans-serif”,
alignment: go.Spot.Top
},
new go.Binding(“text”, “name”)
),
) -
For example (like in css)
$(go.TextBlock,
{
row: 0, column: 0, margin: 0, 20, 30, 30
font: “bold 12pt sans-serif”,
alignment: go.Spot.Top
},
new go.Binding(“text”, “name”)
),
Thank you for your time!