Announcement

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

    Aligning multiple ButtonItems in single DynamicForm row not working

    I have a DynamicForm to which I have added multiple ButtonItem components. I want all of the Buttonitems to align in one row. It appears the default if one ButtonItem per row so they are appearing one per row. I tried the setEndRow(Boolean.FALSE) method but this is not working. How can I get mutiple Buttonitems to appear on one DynamicForm row?

    Here is a code snippet:
    ....
    ButtonItem filterdButton1 = new ButtonItem("filter1", "Show Changed Only");
    filterButton1.setEndRow(Boolean.FALSE);
    ButtonItem filterButton2 = new ButtonItem("filter2", "Show Changed Only");
    filterButton2.setEndRow(Boolean.FALSE);

    DynamicForm.setfields( {..., ilterButton1, filterButton2});
    ...

    #2
    Originally posted by tprokuski
    Here is a code snippet:
    ....
    ButtonItem filterdButton1 = new ButtonItem("filter1", "Show Changed Only");
    filterButton1.setEndRow(Boolean.FALSE);
    ButtonItem filterButton2 = new ButtonItem("filter2", "Show Changed Only");
    filterButton2.setEndRow(Boolean.FALSE);

    DynamicForm.setfields( {..., ilterButton1, filterButton2});
    ...
    You have to add

    filterButtonItem1.setStartRow(false);
    filterButtonItem2.setStartRow(false);

    Comment

    Working...
    X