Table in table

  1. Is it possible to use table in table?

  2. If not, is it possible for margin to be set for top as well, not just left?

  3. 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”)
    ),
    )

  4. 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!

Yes and yes: new go.Margin (0, 20, 30, 30)

Thank you very much! The code I put here is much simpler than I have it, so probably there should be an error in my code. But that for margin really helped, thanks again!