on 08-31-2018 2:28 PM
Hi,
Is it possible to use drag & drop from a sap.m.List, to the sap.m.PlanningCalendar?
In the SAPUI5 samples, is an example of how we can use drag and drop whitin the PlanningCalendar, but I want to use list objects, as a starting point for this.
I was trying this with the new dragDropConfig functionality, but without any success
<dragDropConfig>
<dnd:DragDropInfo sourceAggregation="items" targetElement="PC1" targetAggregation="appointments" dropPosition="On" drop="onDrop"/>
</dragDropConfig>
It seems that the targetAggregation isn't correct and the drop functionality isn't accesible.
Anyone a suggestion?
Thx!
Regards,
Hans
Hello hans.verreydt and whatisthis
I had a same problem. Taget element should be table name. In your example :
I think your Planning Calendar id is PC1, target elemet should be PC1-Table, change it.
targetElement="PC1-Table"
But i cant solve that, drop them to specific cells, its dropping to only rows.
my problem is hier;
https://answers.sap.com/questions/14006473/is-it-possible-drag-from-a-table-and-drop-to-plann.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Wolfgang, Hello Hans
Did you figure it out? I am trying to do the same thing without success.
I assume that the drag & drop to the Single Planning Calender is not working because it has its own d&d feature for moving appointments.
Kind regards
Maurice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hans,
I'm facing exactly the same problem. Trying to drag & drop from a List to PlanningCalendar.
However, I used <dnd:DropInfo for the target and <dnd:DragInfo for the source.
Dragging works fine but the target isn't recognised and dropping doesn't work.
Did you resolve the problem?
Best regards
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.