Hi,
I’m trying to remove shadow above text contained in a tablerow but I can’t get rid of it…
Here’s the image
As you can see the text above “S139” drop a shadow over the table background…
Here’s my code:
//NODE
var fieldTemplate2 =
$(go.Panel, "TableRow",
new go.Binding("portId", "id"),
{
background: "transparent",
fromSpot: go.Spot.Left,
toSpot: go.Spot.Left,
// allow drawing links from or to this port:
fromLinkable: false, toLinkable: true
},
$(go.Shape, "TriangleRight", {
alignment: go.Spot.Left,
width: 9,
height: 9,
column: 0,
margin: 0,
fill: "#5EA9BE",
fromLinkable: false,
toLinkable: true }),
$(go.TextBlock,
{ margin: new go.Margin(0, 2), column: 1, font: "bold 12px sans-serif",
// and disallow drawing links from or to this text:
fromLinkable: false, toLinkable: false },
new go.Binding("text", "name"))
);
//TEMPLATE
var fieldTemplate7 =
$(go.Panel, "TableRow",
new go.Binding("portId", "name"), {
background: "transparent",
fromSpot: go.Spot.Left,
toSpot: go.Spot.Left,
fromLinkable: false,
toLinkable: false
},
$(go.TextBlock,
{ margin: new go.Margin(0, 2), column: 1, font: "bold 12px sans-serif",
alignment: go.Spot.Left,
fromLinkable: false, toLinkable: false },
new go.Binding("text", "name"))
);
Can you help me?
Regards
Fulvio