Open
Description
Hi @phphe
i have a structure no more than 2 levels deep ( Module and Activities ).
I need to keep any Module at the root level and be able to reorder them.
Activities can be reordered and moved between Modules - but can not be promoted to root level with Modules
Screen shots:
This is the structure i am looking to keep
This is wrong, Modules and Activities sharing node levels
My data structure is:
journey: [
{ text: "module 1" },
{
text: "module 2",
children: [
{ text: "activity 1", droppable: false },
{
text: "activity 2",
droppable: false
},
{
text: "activity 3",
droppable: false
}
]
},
{ text: "module 3", draggable: false },
{
text: "module 4",
children: [
{ text: "activity 4", droppable: false },
{
text: "activity 5",
droppable: false
},
{
text: "activity 6",
droppable: false
}
]
}
]
Many thanks in advance
DC
Metadata
Metadata
Assignees
Labels
No labels