0

Is it possible to add a dojo tooltip (Extension Lib) to a viewColumn? I have tried embedding it within the viewColumn, between two columns, after last viewColumn in viewPanel and all bound to viewColumn-ID without success.

In source I can see that the div-tag for tooltip is created and with values in "label" but when hovering it doesn't display.

Naveen
  • 6,786
  • 10
  • 37
  • 85
  • When you connect the Tooltip control (from extension library) to view column it generates code like `
    `. Notice the `connectId` which points to `view:_id1:viewPanel1:viewColumn1`. But View control does not generate any element with ID `view:_id1:viewPanel1:viewColumn1`. Instead it generates IDs like `view:_id1:viewPanel1:0:viewColumn1:_internalViewText` for columns. Also do you want the tooltip for entire column or cell.
    – Naveen Mar 08 '13 at 11:38
  • I want it for each entry. Imaging a entry as a link and hover over will present a tooltip with more info about the underlying document. I can do it creating the HTML in the actual view column but I'd like to move from that type of design... – Mikael Andersson Wigander Mar 09 '13 at 11:18

2 Answers2

1

You might need to place your tooltip in desired column (inside viewcolumn tag) and set the for property to _internalViewText.

user987339
  • 10,519
  • 8
  • 40
  • 45
0

You would want to use a repeat control for this instead of a view control. It is slightly more work but gives you better flexibility.

stwissel
  • 20,110
  • 6
  • 54
  • 101