The column headers are not visible in downloaded SVG, please check the below attached details.
Code used to generate column headers:
$(go.Panel, “Table”,
{
stretch: go.GraphObject.Fill, //height:25,
alignment: go.Spot.Left,
margin: new go.Margin(0.5, 0, 0, 0),
},
new go.Binding(“background”, “isSelected”,
(sel, shp) => shp.part.data?.nodedetails?.tablebackgroundcolor || “white”).ofObject(),
$(go.RowColumnDefinition,
{
row: 1,
},
new go.Binding(“background”, “isSelected”,
(sel, shp) => shp.part?.data?.nodedetails?.color || “white”).ofObject(),
),
$(go.TextBlock,“”, { row:1, width:49, height: 18, name: “IndexHeader”, text: “Sr.No.”, column: 0, font: “bold 11pt sans-serif”, alignment: go.Spot.Left, textAlign: “left”, wrap: go.Wrap.None, margin: new go.Margin(2, 0, 1, 0) }, new go.Binding(“background”, “isSelected”, (sel, shp) => shp.part?.data?.nodedetails?.color || “white”).ofObject(), ), $(go.TextBlock,“”, { row:1, height: 18, name:“BLHeader”, text:“Business Logic List”, column: 1, alignment: go.Spot.Left, textAlign: “left”, font: “bold 11pt sans-serif”, wrap: go.Wrap.None, margin: new go.Margin(2, 0, 1, 0) }, new go.Binding(“width”, “”, setBlColumnAndScrollingTableWidth).ofObject(), new go.Binding(“background”, “isSelected”, (sel, shp) => shp.part?.data?.nodedetails?.color || “white”).ofObject(), ), $(go.TextBlock,“”, { row:1, width:69, height: 18, name:“ModifiedHeader”, text:“Modified”, column: 3, alignment: go.Spot.Left, textAlign: “left”, font: “bold 11pt sans-serif”, wrap: go.Wrap.None, margin: new go.Margin(2, 0, 1, 0) }, new go.Binding(“background”, “isSelected”, (sel, shp) => shp.part?.data?.nodedetails?.color || “white”).ofObject(), ), $(go.TextBlock,“”, { row:1, height: 18, name:“RuleTypeHeader”, text:“RuleType”, visible:true, column: 2, alignment: go.Spot.Left, textAlign: “left”, font: “bold 11pt sans-serif”, wrap: go.Wrap.None, margin: new go.Margin(2, 0, 1, 0) }, new go.Binding(“width”, “”, setRuleTypeHeaderWidth).ofObject(), new go.Binding(“background”, “isSelected”, (sel, shp) => shp.part?.data?.nodedetails?.color || “white”).ofObject(), ),)
Original diagram view:
Diagram view after download SVG:




