I need to accomplish the following form row layout with SmartGWT:
My problem is that a DynamicForm only accepts one input control per row. I considered creating the whole form without using a DynamicForm. But I haven’t found a suitable layout for this approach yet (is there something like a TableLayout or a GridLayout in SmartGWT)? I could reach my goal by using a lot of HorizontalLayout rows but this would be ugly and cumbersome in my eyes.
Another question, is it possible to add a radio button as an independent item? RadioGroupItems are hard to customize since they are rendered as a whole.
Have you tried setnumcols method for DynamicForm ? Default value is 2 and TextItem need at least 2 column (one for title and one for control itself). You should achieve your goal by seting number of columns to 4 to get 2 input control in one row
Use rowSpan or colSpan like building a standard HTML table to merge cells for display. In other cases use a SpacerItem or RowSpacerItem to add separation or fill empty cells you don’t want merged.