Topic: Align Right Column in MDBDataTable

Jlius Suweno free asked 4 years ago


How to align my data with MDBDataTable? I already search and try many things, but still didn't get it. I want to make my last column to align right, please help me

<CardBody>
                         <MDBDataTable
                            class="text-right"
                            noBottomColumns
                            responsiveSm
                            responsiveMd
                            responsiveLg
                            responsiveXl
                            hover
                            bordered
                            data={dataa}
                          />
                    </CardBody>

Piotr Glejzer staff commented 4 years ago

how your table looks like? Can you show me a screen?


Krzysztof Wilk staff answered 4 years ago


Hi!

Try to use className instead of class.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.6
  • Device: Computer
  • Browser: Firefox
  • OS: Windows 7
  • Provided sample code: No
  • Provided link: No