move_group moves a group to a different position from
within a shiny server function.
The parameter from refers to the group-id you want to be moved.
Likewise to refers to the group-id of a group you want to
select as destination.
The difference between move_group2()
and move_group()
is that
move_group2()
selects both
from and to by panel-id, whereas move_group()
selects by group-id.
Usage
move_group(
dock_id,
from,
to,
position = NULL,
session = shiny::getDefaultReactiveDomain()
)
Arguments
- dock_id
Dock unique id. When using modules the namespace is automatically added.
- from
Group-id of a panel within the group that should be moved.
- to
Group-id of a panel within the group you want as a destination.
- position
Group position options: one of
"left", "right", "top", "bottom", "center"
.- session
shiny session object. See https://dockview.dev/docs/api/dockview/panelApi/.