Adding a button into a groupbox header - Mendix Forum

Adding a button into a groupbox header

0

In order to align a group-box header with an add or edit button on the top line we now created a container, with 2 subboxes in combination with a lay-out grid and added CSS to it in order to have a header + button and then in the body the content of the group.

 

It would be nice if this could be the standard for the groupbox (to be able to drag buttons inside of it in order to align them with each other).

For functionality it resembles a bit like the datagrid 2 custom content button inside a data grid.

 

In Studio the classes are named like this:

 

To get a front-end look like this:”. Notice the edit pencil button aligned on top of the header ‘Cliënt gegevens’

 

 

 

For reference, the standard groupbox doesn't support this:

asked
0 answers