Project

General

Profile

Bug #2584

WTableView does not show header tooltip

Added by Michael Vilsker over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/21/2014
Due date:
% Done:

0%

Estimated time:

Description

code in HibernateTableModel extends WAbstractTableModel (DisplayRole works ToolTipRole does not work)

    @Override
    public Object getHeaderData(int section, Orientation orientation, int role) {
        if (orientation == Orientation.Horizontal) {
            if (role == ItemDataRole.DisplayRole || role == ItemDataRole.ToolTipRole){
                if (section == 0)
                    return "Process/Application";
                else{
                    return "<div class=\""+ headerStyle + "\"> " + 
                            processes().get(section - 1).getDescription() +
                            "</div>";
                }
            } else
                return null;
        } else
            return null;
    }
#1

Updated by Koen Deforche over 8 years ago

  • Project changed from Wt to JWt
  • Target version set to 3.3.2

Apparently is a JWt specific bug, I couldn't reproduce it in Wt.

Also available in: Atom PDF