Hi Laszlo,
Thanks for using Syncfusion Products.
We are not able to understand your update and we need some clarification from you regarding to set this ability dynamically based on the actual "layout"? e.g. it can "group" with some controls, but not with others. Could you please update this scenario by any snapshot or explain your requirement in detailed manner to us? It would be better for us to analyse further and provide you a better solution.
Regards,
Muthalagu