Question

I am very new to Vaadin. My requirement is like in my page I need to have 4 input component per row. There would be 4 rows like this. I need a layout which will allow me to define number of columns and keep align it.

There should not be any border like we have in table. Please suggest me any suitable layout and how can I customize that.

Thanks

Was it helpful?

Solution

You are probably looking for a GridLayout, it provides enough flexibility to size your grid 'cells', maintain consistency and set expand ratios for row and columns separately.

The other option for you is to use a CustomComponent and in case you are using Vaadin plugin for eclipse (and I don't have experience with Vaadin on any other IDE) you can use their WYSIWYG editor to translate your requirement to a custom component.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top