You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Vaadin supplied renderers for Grid.Column are inconsistent in the way they handle locale, and make it difficult to change locale dynamically.
Some use the Grid locale (depending on which constructor is used). This would mean just refreshing the Grid after a locale change :
LocalDateTimeRenderer
LocalDateRenderer
These are fine, but others use different methods, and cannot be changed post-construction:
NumberRenderer requires a locale set at time of construction, or uses the default for NumberFormat
DateRenderer (which may never be used now of course) - uses Locale.getDefault() unless explicitly set.
Currently the FormTableSection just uses TextRenderer, but once fixed should use the appropriate column renderers for the data type. All renderers should just use the Grid locale
The text was updated successfully, but these errors were encountered:
The Vaadin supplied renderers for Grid.Column are inconsistent in the way they handle locale, and make it difficult to change locale dynamically.
Some use the Grid locale (depending on which constructor is used). This would mean just refreshing the Grid after a locale change :
These are fine, but others use different methods, and cannot be changed post-construction:
NumberRenderer
requires a locale set at time of construction, or uses the default forNumberFormat
Currently the
FormTableSection
just usesTextRenderer
, but once fixed should use the appropriate column renderers for the data type. All renderers should just use the Grid localeThe text was updated successfully, but these errors were encountered: