Align Right Column in MDBDataTable


Topic: Align Right Column in MDBDataTable

Jlius Suweno asked 5 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 5 years ago

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


Krzysztof Wilk staff answered 5 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
  • User: 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
Tags