void () { RadRootContainer root = (RadRootContainer) FormEditingUtil.getRoot(myComponent); if (root == null) return; for(RadButtonGroup group: root.getButtonGroups()) { if (group.getName().equals(myGroupName)) { root.setGroupForComponent(myComponent, group); break; } } myEditor.refreshAndSave(true); }