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

Stokmanis free 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


Kamila Pieńkowska staff answered 2 years ago


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


Torroni pro commented 1 year ago

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


Kamila Pieńkowska staff commented 1 year 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

  • ForumUser: 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