Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Form components on the same row

    Hi,

    In the Showcase all of the form examples have the components vertically. I want to make a form which has the components laid out as (for example):

    Text Box
    Date
    Date
    Text Box | Check Box
    Check Box| Select Box
    Select Box

    I can't find out in the docs how to get two form components on the same row. Could you let me know how to do this?

    Regards,

    #2
    First make sure you have set DynamicForm.setNumCols(); A title = 1 column and the widget = 1 column, so in your case you need 4 total columns.
    Then use FormItem.setStartRow(true) for each component where you only want 1 component in the row and not 2.
    DateItem.setStartRow(true);
    DateItem.setStartRow(true);

    Comment

    Working...
    X