Pages

Wednesday, 21 June 2017

Tip : Right Alignment of numeric type fields in Pentaho CDE table component




In CDE resources add below CSS code to align table numeric data to right side.

Below will work as the type of field is numeric which is available in table type
table tbody td.numeric, th.numeric{ text-align: right; }



This will not work as the type of field is given number which is not available in Table Types 
table tbody td.number, th.number{ text-align: right; }



Sample output: 

Right aligned values in Table Cell

1 comment:

  1. Pues genial, excelente. me ha funcionado.

    ReplyDelete