Pentaho

 View Only

 Table right align with decimal point column format

  • Pentaho
  • Ctools
  • Pentaho
Glupe Registracije's profile image
Glupe Registracije posted 03-01-2018 08:45

Hi,

I have created in CDE a simple table with data populated by sql query. It look like the following:

pastedimage_1

What would be the easiest way to right align second column by decimal point?

At the moment, the only way I have found working is to use table style New or Classic.

If I pick Bootstrap, I don't see the change.

Can I somehow change only column property from CDE?

Regards.


#Pentaho
#Ctools
Paulo Pires's profile image
Paulo Pires

Hi Glupe,

Add a column type to that column, for example numeric, which already has css defined for it, but add to your css

.dataTable tbody .numeric{

    text-align: right;

}

Regards

Glupe Registracije's profile image
Glupe Registracije

Thanks