Align data in a column

3
Is it possible to align data (text/numbers) in a column of a data grid? To the right, left or center.
asked
2 answers
8

Currently ordering right or centre justified isn't possible. Please add a feature request in our Partner Portal application.

I would also like to refer to this answer.

answered
0

There is a way to do this with styling. You have to give the datagrid a custom css-class and then you can do something like this:

.CustomClass .mendixDataGrid_dataContainer {
   text-align:right !important;
}

But that means all the columns will be aligned to the right. If Mendix adds the possibility to add a custom css class to a column of a datagrid, it will be easier.

answered