Open Bug 421167 Opened 16 years ago Updated 2 years ago

Tooltip support for custom tree views - nsITreeView

Categories

(Core :: XUL, enhancement)

enhancement

Tracking

()

People

(Reporter: twhitema, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12
Build Identifier: Trunk

It would be nice if a custom tree view had support for showing a custom cell tooltip.

Something like this interface:
  nsITreeView.getCellTooltipText(PRInt32 row , nsITreeColumn col) => String

Which would return the tooltiptext string to be displayed by the tree tooltip handler.

It may also be nice to be able to return an actual tooltip element id that would be displayed instead of the tree's own tooltip element, such as this:
  nsITreeView.getCellTooltip(PRInt32 row , nsITreeColumn col) => String



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
It would be useful
I can confirm this bug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.