How to Control Number Convertion in Table

I have a column YEAR in table, it’s a number. By default, table will convert it into String and display it as 2,013 instead of 2013 for example. Is there any way to control the type convertion?

Example for reformatting Date Columns from my code: table = new Table() { @Override protected String formatPropertyValue(Object rowId, Object colId, Property<?> property) { if (property.getValue() instanceof Date) { SimpleDateFormat df = new SimpleDateFormat("dd-MM-yyyy"); return df.format((Date) property.getValue()); } return super.formatPropertyValue(rowId, colId, property); } }; You should be able to convert this code for your purposes.

A better way with Vaadin 7 is:

myTable.setConverter("propertyId", new MyConverter());