I need to be able to display long text in a column and have it wrap. Is there a way this can be done?
If not, is there a way to display tooltip only when values exceed the column width?
Thanks.
Displaying long text issue in datatable
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I couldn't replicate it. Could you please provide a plunker for us to replicate? Also, maybe, this link can help to you; https://www.w3schools.com/cssref/css3_p ... erflow.asp
Code: Select all
text-overflow: ellipsis;
Github Profile: https://github.com/mertsincan
I'm also having an issue with this.
I was able to replicate it with the sample code:
https://www.primefaces.org/primereact/#/datatable
If you look at the following on a mobile device, you'll see the contents of the cell bleed over.
I was able to replicate it with the sample code:
https://www.primefaces.org/primereact/#/datatable
If you look at the following on a mobile device, you'll see the contents of the cell bleed over.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please use responsive={true} property on dataTable.
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests