Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: table-editor how to align one column? Or is it a bug?

HoleInOne priority asked 3 years ago


*Expected behavior*One column align to the right

*Actual behavior*Column is not aligned

Resources (screenshots, code snippets etc.)https://mdbootstrap.com/snippets/standard/holeinone/2881040

Company Address Employees Smith & Johnson Park Lane 2, London 30 P.J. Company Oak Street 7, Aberdeen 30

Food & Wine Netherhall Gardens 3, Hampstead 30

IT Service Warwick Road 14, London 30

A. Jonson Gallery Oaklands Avenue 2, London 30

F.A. Architects Frognal Way 7, Hampstead 30


Grzegorz Bujański staff commented 3 years ago

It looks like this option is currently not working properly. We'll fix it


HoleInOne priority commented 3 years ago

Is there a time-path for the fix?


Grzegorz Bujański staff commented 3 years ago

Unfortunately not at the moment.


HoleInOne priority commented 3 years ago

I solved my problem using CSS In the header of the page I added the following. th:nth-child(1) { text-align: left; } th:nth-child(2) { text-align: left; } th:nth-child(3) { text-align: right; } th:nth-child(4) { text-align: left; }

td:nth-child(1) { text-align: left; } td:nth-child(2) { text-align: left; } td:nth-child(3) { text-align: right; } td:nth-child(4) { text-align: left; }


HoleInOne priority answered 3 years ago


HTML 5 does not support column alignment options anymore. There is a shift to CSS for updating styles used in tables.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: PC
  • Browser: Any
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: Yes