Search code examples
javauser-interfacejavafxvaadingridpane

Does Vaadin have the equivalent of a JavaFX GridPane?


In JavaFX, multiple UI elements can be displayed to the user in a grid, using a GridPane. Vaadin has a grid layout, however their Grid doesn't function as a container for other elements. Instead, it appears to be used as a table for displaying individual beans as rows. Vaadin does have an ordered layout, however, I don't think it can be used to create a grid of other UI elements.

How would I replicate the behavior of JavaFX's GridPane in Vaadin?


Solution

  • In Vaadin 8 there was a GridLayout available, that resembles a GridPane. There is no exact replacement in Vaadin Flow, but there is a third party compoenent CssGridLayout that may fit the bill.