word-wrap using in datatables
-
Hello,
is there a possibility to break to long lines in the Datagrid so they are displayed in multiple lines?
I´ve tried some css but nothing seems to work..q-data-table td{
word-wrap: break-word;
}Thanks in advance!
Mike -
Try this:
.q-data-table td, .q-data-table th { /* don't shorten cell contents */ white-space: normal !important; }
-
Hey - thanks for your quick answer!.
Unfortunately it doesn’t work for me…
Every time the content length exeeds the width of the cell three dots are displayed (…)Mike
-
Ahhhh. WAIT!
It work’s ! Thank you very much!Greets Mike
-
Thanks! however, it worked with
.q-table
for me (not with.q-data-table
).