Table Panel with dynamic column widths

Hi Simon

Thanks for taking the time of coming up with an alternative solution but unfortunately I still have the problem of the part’s location shifting to the left when the header section starts to grow.

Here’s what it looks like when the header is at it’s default width:

Here’s what it looks like when the header starts to grow:

As you can see, the part’s location shifts to the left.

Here’s the updated model definition in your CodePen sample:

myDiagram.model = new go.GraphLinksModel(
[
  { key: "Alpha", text: "short text", isGroup: true, height: 100, location: "0 0" },
  { key: "Alpha", text: "long long long long long long long long text",  location: "0 120", isGroup: true, height: 100  }
],
[
]);

Thanks
Justin