Active Query Builder support area

ObjectTreeView table and field description tooltips

Avatar
  • updated
  • Completed

Is there a way to have the tooltips for the table and fields in the tree to just show my description value instead of it having 2 lines where the first shows the fully qualified table/field name, and the second shows my description? I don't want users to see the database name or schema

Avatar
Andrey Zavyalov, PM

Hello,

It should look like this:

QB.Web.Application.TreeComponent.tooltipGetText = function(item) { return item.description; }


Avatar
Andrey Zavyalov, PM

Hello,

We have added this possibility in the latest version released today.



  The new QB.Web.Application.TreeComponent.tooltipGetText method can be
  defined to set custom tooltip text for items in the Database Schema Tree.
  The Item object that is passed to this method has the following fields:
  caption (holds alternate name if UseAltNames is set to True), description,
  fullName, name, type (enum QB.Web.Enum.MetadataType), typeStr.