I have defined a form with data source is a bean object. So my layout is being taken care automatically. Meaning based on the bean attribute type the rendering is done.
This is working fine and great feature.
Now my question is how could i define the control position if the layout is done dynamically?
You should be able to arrange the order of the fields (and visibility) with
setVisibleItemProperties() .
You can also change which layout the Form uses with
setLayout() - the default is FormLayout, but for flexibility you can for instance use
CustomLayout in which case the ‘locations’ of the CustomLayout should match the field names.