I have in an repeating_panel joined user.
Then I can build several teams on the screen by clicking button.
Now the task:
How can I click on a joined user (in the right repeating_panel and move it to the team_group (left)
Take a look at the News Aggregator tutorial, specifically the section on deleting items: Anvil | Delete articles
That shows the technique of setting an event handler on a repeating panel that can be triggered by any of its row templates. You can use the same technique to trigger a function the overall form. That function can remove the given item from one repeating panel and add it to another.
Thank you - good idea.
Step 1: click on attendee - event-handler removes attendee from orange list.
Step 2: still mouse clicked and attendee moved to Team 1 Step 3: declick mouse and attendee shall be Teammember of Team 1 - how can I achieve that? How does repeating_panel of Teammember know what to do?
If you are wondering about how to communicate the data between the repeating panels, I lean on the Anvil Extras messaging module very heavily for this type of thing.
that is exactly what I am looking for. Unfortunately I only can drag but not drop (can´t see code or role-def.)
Do you please have further information on that?
Thx Aaron
Thx, that is very interesting.
My Ideas:
I build links in the repeating-panel that shall be dragged & create a messaging channel.
User drops dragged object in a new repeating-panel:
Here I get confused: how does it work to let the drop area now, what to do?