Vyacheslav Kovalchuk
Vyacheslav Kovalchuk

Reputation: 363

How can I 'ungroup' actions in Oro?

I developed two actions for my 'shopping list view' page and want to display them close one to another, like this: Desired behavior

However, if I'll define them both as actions, I won't be able to ungroup them, and they will look like this:Current behavior

How can I achieve positioning of these buttons in one row?

Upvotes: 1

Views: 52

Answers (1)

Hryhorii Hrebiniuk
Hryhorii Hrebiniuk

Reputation: 526

All action buttons defined within shopping_list_buttons layout container are grouped into dropdown-menu items. To have them separated, add your new button to a common parent container and define shopping_list_buttons as it’s sibling, something like:

layout:
    actions:
        - ‘@add’:               
            id: move_all_to_my_cart
            siblingId: shopping_list_buttons
            parentId: product_line_item_form_buttons
            blockType: container
            prepend: true

Upvotes: 1

Related Questions