Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Table: Make Table Headers Within <q-data-table> Show Title By Default #559

Closed
joelhickok opened this issue May 9, 2017 · 3 comments
Milestone

Comments

@joelhickok
Copy link

Feature Request

Data Table Component

By default, text within <th> elements in a Data Table is truncated if it overflows the width of the column. The title attribute should be applied to <th> elements by default so that the full text is displayed when the user rolls over the column header.

See image below which corresponds to the HTML examples.

<th class="sortable" title="Projected Unpaid"><i class="cursor-pointer">import_export</i><span>Projected Unpaid</span></th>

OR

<th class="sortable"><i class="cursor-pointer">import_export</i><span title="Projected Unpaid">Projected Unpaid</span></th>

If the use of the title attribute is not the preferred method for displaying the full inner <th> contents, then another approach may be useful.

screenshot 2017-05-09 06 04 10

@rstoenescu rstoenescu added this to the v0.14 milestone May 12, 2017
@rstoenescu
Copy link
Member

Will be available in v0.13.8 (releasing it in a few hours) and future v0.14.

@rstoenescu
Copy link
Member

Available in v0.13.8 (just released it).

@joelhickok
Copy link
Author

Great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants