Skip to content

Conversation

@hoxbro
Copy link
Member

@hoxbro hoxbro commented Jun 17, 2025

I don't see any reason why this shouldn't be enabled all the time.

We likely need to update the CSS so the font type matches the tabulator font. Does not seem to be easy ref.

image

import pandas as pd
import panel as pn

pn.extension('tabulator')

data = {
    "This is a very long column name that should be truncated": [1, 2, 3],
    "Another extremely long header that will not fit normally": [4, 5, 6],
    "Short": [7, 8, 9]
}
pn.widgets.Tabulator(pd.DataFrame(data), widths=dict.fromkeys(data, 150)).servable()

@codecov
Copy link

codecov bot commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.07%. Comparing base (8492008) to head (ac58f3d).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7988   +/-   ##
=======================================
  Coverage   87.07%   87.07%           
=======================================
  Files         346      346           
  Lines       53374    53374           
=======================================
+ Hits        46473    46474    +1     
+ Misses       6901     6900    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@philippjfr
Copy link
Member

Does it also show the tooltip for short column names?

@hoxbro
Copy link
Member Author

hoxbro commented Jun 17, 2025

Yes

@philippjfr
Copy link
Member

As long as there is some reasonable delay on it I'm +1 on enabling it by default.

@hoxbro
Copy link
Member Author

hoxbro commented Jun 17, 2025

There is a delay.

@hoxbro
Copy link
Member Author

hoxbro commented Jun 18, 2025

Screencast.From.2025-06-18.11-56-16.mp4

@philippjfr philippjfr merged commit 0c220de into main Jun 23, 2025
46 of 53 checks passed
@philippjfr philippjfr deleted the header_tooltip branch June 23, 2025 09:07
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants