Project

General

Profile

Actions

Bug #2584

open

WTableView does not show header tooltip

Added by Michael Vilsker about 10 years ago. Updated about 10 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;
    }
Actions #1

Updated by Koen Deforche about 10 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.

Actions

Also available in: Atom PDF