Is there a way to include a section with full-column-span width in a form?

I have a requirement to display several form fields into a FormLayout. Then there should be a section with some content in it but it should always be full-width, that is, span over all the columns of that FormLayout.

I’ve successfully added such a section to the end, but when I try to add it somewhere in the middle, it does appear but is only within a single span column (and if there is space, it will appear at the end of the row above).

I’ve tried wrapping it into another FormLayout to be able to give it a column-span but it didn’t work.

Any suggestions?

Hello, have you t ried setColSpan method? Please see “Handling columns and colspans in a layout” demo here:

https://vaadin.com/components/vaadin-form-layout/java-examples