tblMain.getColumn("billDate" ).getStyleAttributes().setNumberFormat("%{yyyy-MM-dd}t");
tblMain.getColumn("creditFor").getStyleAttributes().setNumberFormat("%r{#,##0.00}f");
tblMain.getColumn("debitFor" ).getStyleAttributes().setHorizontalAlign(HorizontalAlignment.RIGHT);