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

ToolTips on items on row of table that has handing for mouse hovers on its rows

$
0
0

@abhargav wrote:

Prerequisite:
- I have a dynamically showable objects in a row on hover of mouse on row

Need:- I need a tooltip on a specific object inside a row
of a table.

In below codeToolTip comes for a fraction of a second
then goes away

toolTip:

      // this.goMake(go.Adornment, "Spot",

        this.goMake(go.Adornment, "Auto",

       //{ background: "transparent" },

this.goMake(go.Shape, { fill: "black" }),

       // this.goMake(go.Placeholder, { padding: 5 }),

        this.goMake(go.TextBlock, { margin:59,stroke:"white",font: "14px Arial, Helvetica,sans-serif" },

          new go.Binding("text", "path"))

      )

  })

Tried below also, tool tip stays, and then the dynamically
showable objects in a row on hover of mouse on row does not shows, up on the
same row, also while the tooltip is there I cant hover on another row. another
row seems to have no response on hover

toolTip: // define a tooltip for each node that displays the color as text

        this.goMake(go.Adornment, "Spot",

       // this.goMake(go.Adornment, "Auto",

       { background: "transparent" },

   //this.goMake(go.Shape, { fill: "black" }),

       this.goMake(go.Placeholder, { padding: 5 }),

        this.goMake(go.TextBlock, { margin:59,stroke:"white",font: "14px Arial, Helvetica,sans-serif" },

          new go.Binding("text", "path", function(s) { return "Path: " + s; }))

      )

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles