Pentaho Tools :

Pentaho C-Tools(CDE,CDF,CDA),Pentaho CE & EE Server,OLAP-Cubes,Analysis using Pivot4J, Saiku Analytics, Saiku Reporting, Ad-hoc Reporting using Interactive Reporting Tool,Dashboards,Reports using PRD, PDD,Data Integration using Kettle ETL,Data Mining usign WEKA,Integration of Servers with Databases,Mobile/iPad compatible Dashboards using Bootstrap Css,Drilldown dashboards,Interactive Dashboards

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