Datatable - who to enable long text wrap within the cell


Topic: Datatable - who to enable long text wrap within the cell

Stokmanis asked 2 years ago

Expected behavior Allow to wrap the cell content. What is the correct way to allow to wrap datatable cell long content within the cell

Actual behavior Datatable cell long text is with reduced with ...

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/stokmanis/4079898 The first cell contains long text and it is shown partial content


kpienkowska staff answered 2 years ago

Try this: https://mdbootstrap.com/snippets/standard/kpienkowska/4080501


Torroni pro commented 2 years ago

How do I obtain the same result when initializing the table via javascript?


kpienkowska staff commented 2 years ago

The same way. Wrapping is enabled with custom CSS that you need to add.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 4.2.0
  • Device: laptop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes