vaadin grid shows only 3 decimals

grid shows only 3 decimals for numeric fields, I think this is default bhaviour of grid. Can some one give me an example how to show more decimals to certain columns if needed.

See if this earlier thread for the same issue helps
https://vaadin.com/forum/#!/thread/11019004

If not, please ask clarifications.

Thanks Hayry,
This might be helpful, [Note: below code snippet is by using scala]

class StringToBigDecimalConverter extends
AbstractStringToNumberConverter[java.math.BigDecimal]
{
override def getFormat(locale:Locale):NumberFormat= {
val format = super.getFormat(locale)
format.setGroupingUsed(false)
format.setMaximumFractionDigits(5)
format.setMinimumFractionDigits(5)
format
}

override def  convertToModel(value:String,
         targetType: Class[_<:java.math.BigDecimal]

, locale:Locale):java.math.BigDecimal=
{
convertToNumber(value, classOf[java.math.BigDecimal]
, locale).asInstanceOf[java.math.BigDecimal]

}

override def  getModelType():Class[java.math.BigDecimal]

= {
classOf[java.math.BigDecimal]
;
}
}