RefreshComponentRenderer Add-on
Extended ComponentRenderer for components that are not rendered properly after Grid resize or scrolling
Workaround for Vaadin 8 ComponentRenderer issues:
RadioButtonGroup (Grid resizing):
https://github.com/vaadin/framework/issues/11911
Slider (Grid scrolling):
https://github.com/vaadin/framework/issues/11877
Sample code
grid.addComponentColumn(this::radioButtonResponse) .setCaption("Boolean"); grid.addColumn(this::radioButtonResponse, new RefreshComponentRenderer()).setCaption("Boolean refreshed"); grid.addComponentColumn(this::sliderResponse).setCaption("Integer"); grid.addColumn(this::sliderResponse, new RefreshComponentRenderer()) .setCaption("Integer refreshed");
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2020-03-23
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Browser
- N/A
RefreshComponentRenderer Add-on - Vaadin Add-on Directory
Extended ComponentRenderer for components that are not rendered properly after Grid resize or scrollingWorkaround for Vaadin 8 ComponentRenderer issues:
RadioButtonGroup (Grid resizing):
https://github.com/vaadin/framework/issues/11911 Slider (Grid scrolling):
https://github.com/vaadin/framework/issues/11877
View on GitHubhttps://github.com/vaadin/framework/issues/11911 Slider (Grid scrolling):
https://github.com/vaadin/framework/issues/11877