[Bug Report] VDataTable column headers wrap when inside VCard
See original GitHub issueEnvironment
Vuetify Version: 2.0.7 Last working version: 2.0.5 Vue Version: 2.6.10 Browsers: Chrome 76.0.3809.100 OS: Windows 10
Steps to reproduce
Nest a VDataTable
within a narrow VCard
and look at the column headers
Expected Behavior
Being inside a VCard
doesn’t change VDataTable
’s styling
Actual Behavior
VDataTable
’s header column text breaks mid-word
Reproduction Link
https://codepen.io/Dylan-Chapman/pen/JjPGZvo
Other comments
Looks like this was caused by #8380
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Vuetify - wrap header text on v-data-table
It is an array of objects that each describe a header column. See the example below for a definition of all properties.
Read more >vuetify data-table horizontal scroll
You can set the width of the columns in the headers like in the code pen. With this you can force the scroll...
Read more >Structured Data Plugin
This plugin allows you to add structured data to any DokuWiki page. Think about this data as additional named attributes. Those attributes can...
Read more >Can anyone enable word wrap on a data table?
Do you want to enable "word wrap" functionality within Data table control? Currently, the "word wrap" functionality is not supported in Data ...
Read more >Build Dynamic Data Table in Vue.js 2+ with Vuetify
A data table organizes information using column and rows, and a general DataTable has the following components: Columns; Column header names; Rows; Footers ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Workaround is to add
But as #8380 may affect other components as well i’m not sure if that change shouldn’t be just reverted and long words should be handled in userland same as they would be handled in any other component
Hi there,
Is there a way to apply
text-no-wrap
to the data table headers, in my situation I want to make horizontal scroll instead of wrapping header texts.