i’m running vaadin with hibernate & postgresql,im storing integers in column as primary key e.g 252356763, in vaadin table they appear like 252,356,763 how do i get rid of commas?
Hi, try this:
StringToIntegerConverter converter = new StringToIntegerConverter() {
@Override
protected NumberFormat getFormat(Locale locale) {
return new DecimalFormat("#");
}
};
Table table = new Table();
table.setConverter("your_property_id", converter);
man you are such a life saver ,thank you very much