Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Table panel overlaps or goes in background of other nodes

$
0
0

@sjcatch wrote:

Hi

On click of text block of a table row, I am showing extra rows. But it goes in the background or overlaps to other nodes. I dont want to see this behaviour rather I would like to see clean diagram where nodes don’t overlap or go in the background other nodes.

Any help would appreciated please

new go.Binding('text', 'nodeType')),
        $(go.TextBlock,
          {
            font: '300 10pt Questrial',
            editable: false,
            row: 0, column: 1, columnSpan: 2,
            alignment: go.Spot.Center,

          },
          {
            click: function (e, item) {
              var node = item.diagram.findNodeForKey(item.Zd);
              if (node) {
                myDiagram.startTransaction('expandDetails');
                myDiagram.model.setDataProperty(node.data, 'showSummary', !node.data.showSummary);



$(go.Panel, “Table”,
{
row: 2, column: 0,
columnSpan: 2,
defaultAlignment: go.Spot.Left,
width: 250
},
// new go.Binding(“height”, “detailsHeight”),
// new go.Binding(‘height’, ‘detailsHeight’),
new go.Binding(“visible”, “showSummary”, function (v) { return v ? false : true; }),



Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles